summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-04-11 13:55:41 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-04-11 15:07:38 -0700
commit8c7dc19e3f3656d56de82952aed06c5ac8879d50 (patch)
tree37d67fb70f1bc2c9e835b5b40812547469536f1d /Makefile
parentbbde70e3f0c62bda0e3c74a970ec085e46aa9b00 (diff)
downloadqtlocation-mapboxgl-8c7dc19e3f3656d56de82952aed06c5ac8879d50.tar.gz
[osx] Print crash diagnostics
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d7294320b2..cfbd2ba66c 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ $(OSX_PROJ_PATH)/xcshareddata/xcschemes/osxtest.xcscheme: platform/osx/scripts/o
test-osx: $(OSX_PROJ_PATH) $(OSX_PROJ_PATH)/xcshareddata/xcschemes/osxtest.xcscheme node_modules/express
xcodebuild -project $(OSX_PROJ_PATH) -configuration $(BUILDTYPE) -target test build
- build/osx-x86_64/$(BUILDTYPE)/test
+ build/osx-x86_64/$(BUILDTYPE)/test || ([[ $$? == 139 || $$? == 134 ]] && cat `ls -t1 ~/Library/Logs/DiagnosticReports/* | head -n1`; exit 1)
xcodebuild -project $(OSX_PROJ_PATH) -configuration $(BUILDTYPE) -scheme osxtest test
#### iOS targets ##############################################################