From 9e9874c0ab7f778243e556cc1bc4c23bc2ec1e83 Mon Sep 17 00:00:00 2001 From: Tommaso Cucinotta Date: Sat, 12 Feb 2011 11:05:04 +0000 Subject: [PATCH] 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 --- development/autotests/run-tests.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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