mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 10:00:40 +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:
committed by
Baldur Karlsson
parent
5d08efc16b
commit
e9d70d7eec
@@ -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