forked from OSchip/llvm-project
travis: Make sure we report failure even if only earlier checked files fail
for loop would only report status of the last command
v2: return '1'
call test instead of '['
Reviewer: Jeroen Ketema
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 315193
This commit is contained in:
parent
136381dc38
commit
3c51ae5bd9
|
|
@ -55,6 +55,8 @@ matrix:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- $PYTHON ./configure.py --with-llvm-config=$LLVM_CONFIG --with-cxx-compiler=$CXX && make -j4
|
- $PYTHON ./configure.py --with-llvm-config=$LLVM_CONFIG --with-cxx-compiler=$CXX && make -j4
|
||||||
- for f in $CHECK_FILES; do
|
- ret=0;
|
||||||
./check_external_calls.sh built_libs/$f;
|
for f in $CHECK_FILES; do
|
||||||
done
|
./check_external_calls.sh built_libs/$f || ret=1;
|
||||||
|
done;
|
||||||
|
test $ret -eq 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue