]> git.lyx.org Git - features.git/commitdiff
Avoid stop_autotests termination message when it is killed at normal termination...
authorTommaso Cucinotta <tommaso@lyx.org>
Sat, 12 Feb 2011 11:05:04 +0000 (11:05 +0000)
committerTommaso Cucinotta <tommaso@lyx.org>
Sat, 12 Feb 2011 11:05:04 +0000 (11:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37600 a592a061-630c-0410-9148-cb99ea01b6c8

development/autotests/run-tests.sh

index f5ac847c9bf0dec032e4eaa4350ad409b0fb7146..80201083a102f9f0dfa79cad25dd82ad3c04bf4c 100755 (executable)
@@ -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