From: Tommaso Cucinotta Date: Sat, 12 Feb 2011 11:05:04 +0000 (+0000) Subject: Avoid stop_autotests termination message when it is killed at normal termination... X-Git-Tag: 2.0.0~790 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9e9874c0ab7f778243e556cc1bc4c23bc2ec1e83;p=features.git Avoid stop_autotests termination message when it is killed at normal termination of test-case. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37600 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/autotests/run-tests.sh b/development/autotests/run-tests.sh index f5ac847c9b..80201083a1 100755 --- a/development/autotests/run-tests.sh +++ b/development/autotests/run-tests.sh @@ -60,7 +60,8 @@ if [ ! -d $LYX_HOME ]; then fi # Launch the emergency STOP button -./stop_autotests.tcl > /dev/null 2>&1 & +./stop_autotests.tcl & +pid=$! echo "Running test cases . . ." failed=0 @@ -84,7 +85,8 @@ for t in $(echo "$TESTS" | sed -e 's/-in.txt//g'); do fi; done -killall stop_autotests.tcl > /dev/null 2>&1 +kill $pid +wait $pid > /dev/null 2>&1 echo if [ $failed -eq 0 ]; then