Return exit code of ./problems, not the last command, on macOS

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2020-03-01 19:42:58 +01:00
parent 5ab9b86e56
commit fa4371d30c

View file

@ -21,8 +21,10 @@ make
grep 'not ok' all.log
set +x
./problems
EXIT_CODE=$?
echo "timew $( timew --version )"
python --version
python3 --version
cmake --version
clang --version
clang --version
exit ${EXIT_CODE}