]> git.lyx.org Git - features.git/blobdiff - development/autotests/run-tests.sh
Avoid stop_autotests termination message when it is killed at normal termination...
[features.git] / 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