diff --git a/src/gui/unit_tests/unit_tests.sh b/src/gui/unit_tests/unit_tests.sh index 176987c44..5aa14eb16 100755 --- a/src/gui/unit_tests/unit_tests.sh +++ b/src/gui/unit_tests/unit_tests.sh @@ -10,7 +10,7 @@ for directory in `find . -maxdepth 1 -type d -regex '\./[A-Za-z0-9\-\_]*'` do cd $directory [ ! -e Makefile ] && qmake -spec $QMAKESPEC - $commands || exit 1 + $commands || { kill $PID; exit 1; } cd - done