From: Garrett C. <ris...@li...> - 2010-07-14 05:14:28
|
The branch, master, has been updated via 81db68ff88077a886a32f53b0216294305a65e37 (commit) via ed960312534c233b96e8717fc98ff092cf43e51d (commit) from ddf8b0f527d529ab4b866f9126da9f4c8e163ff5 (commit) - Log ----------------------------------------------------------------- commit 81db68ff88077a886a32f53b0216294305a65e37 Merge: ed960312534c233b96e8717fc98ff092cf43e51d ddf8b0f527d529ab4b866f9126da9f4c8e163ff5 Author: Garrett Cooper <yan...@gm...> Date: Tue Jul 13 22:12:31 2010 -0700 Merge branch 'master' of ssh://ltp.git.sourceforge.net/gitroot/ltp/ltp-dev commit ed960312534c233b96e8717fc98ff092cf43e51d Author: Garrett Cooper <yan...@gm...> Date: Tue Jul 13 22:10:33 2010 -0700 Differentiate SKIP from FAILED. This makes failure triage easier because FAILED occurs whenever a command is missing ($? => 1), so it's just easier to do things this way. Signed-off-by: Garrett Cooper <yan...@gm...> ----------------------------------------------------------------------- Summary of changes: testcases/open_posix_testsuite/bin/run-tests.sh | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/testcases/open_posix_testsuite/bin/run-tests.sh b/testcases/open_posix_testsuite/bin/run-tests.sh index b2ab6b5..f06f64f 100755 --- a/testcases/open_posix_testsuite/bin/run-tests.sh +++ b/testcases/open_posix_testsuite/bin/run-tests.sh @@ -52,7 +52,7 @@ run_test() { if [ "$ret_code" = "0" ]; then echo "$testname: execution: PASS" >> "${LOGFILE}" - else + elif [ -f "$1" ]; then case "$ret_code" in 1) msg="FAILED" @@ -75,6 +75,8 @@ run_test() { echo "$testname: execution: $msg: Output: " >> "${LOGFILE}" cat $complog >> "${LOGFILE}" echo "$testname: execution: $msg " + else + echo "$testname: execution: SKIPPED (test not present)" fi rm -f $complog hooks/post-receive -- ltp |