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 authored and Baldur Karlsson committed 2019-01-03 12:21:58 +00:00
1 parent 5d08efc16b
commit e9d70d7eec
1 file changed
+6
+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