Stop building tests on failure

This commit is contained in:
Roman Bovsunivskiy
2010-02-28 17:10:12 +00:00
parent 64578ae683
commit b63c1957dd
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ for directory in `find . -maxdepth 1 -type d -regex '\./[A-Za-z0-9\-\_]*'`
do do
cd $directory cd $directory
[ ! -e Makefile ] && qmake -spec $QMAKESPEC [ ! -e Makefile ] && qmake -spec $QMAKESPEC
$commands $commands || exit 1
cd - cd -
done done
+2 -2
View File
@@ -6,7 +6,7 @@ for directory in $(find . -name unit_tests)
do do
home=`pwd` home=`pwd`
cd $directory cd $directory
qmake -spec $QMAKESPEC qmake -spec $QMAKESPEC || exit 1
$action $action || exit 1
cd $home cd $home
done done