diff --git a/build/buildbot/config/include/defs.xml b/build/buildbot/config/include/defs.xml index 39605c8962..c0fab9951c 100644 --- a/build/buildbot/config/include/defs.xml +++ b/build/buildbot/config/include/defs.xml @@ -367,11 +367,11 @@ cd tests && runtests.bat - -cd tests && -./test && -if [ -n "$DISPLAY" -a -x test_gui ]; then ./test_gui; fi - +ERR=0 +cd tests +./test || ERR=$? +if [ -n "$DISPLAY" -a -x test_gui ]; then ./test_gui || ERR=$?; fi +exit $ERR