osx: enable unit tests for OSX travis building

force any command failures to call “exit” to make the script fail if a unit test fails
This commit is contained in:
Jake Turner
2018-12-30 17:04:41 +13:00
committed by Baldur Karlsson
parent 5d08efc16b
commit e9d70d7eec
+6
View File
@@ -4,3 +4,9 @@ mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j2
echo "--- Running unit tests ---"
trap 'exit' ERR
./bin/renderdoccmd test -t unit
./bin/qrenderdoc.app/Contents/MacOS/qrenderdoc --unittest