mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-19 01:37:17 +01:00
Stop building tests on failure
This commit is contained in:
parent
64578ae683
commit
b63c1957dd
@ -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
|
||||
$commands || exit 1
|
||||
cd -
|
||||
done
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ for directory in $(find . -name unit_tests)
|
||||
do
|
||||
home=`pwd`
|
||||
cd $directory
|
||||
qmake -spec $QMAKESPEC
|
||||
$action
|
||||
qmake -spec $QMAKESPEC || exit 1
|
||||
$action || exit 1
|
||||
cd $home
|
||||
done
|
||||
Loading…
x
Reference in New Issue
Block a user