mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 22:43:49 +00:00
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:
1 parent
5d08efc16b
commit
e9d70d7eec
1 file changed
+6
@@ -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
|
||||
Reference in new issue
Block a user