summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-07-07 16:52:23 -0700
committerKonstantin Käfer <mail@kkaefer.com>2014-07-07 16:52:23 -0700
commit501af4a3807474d6de288939266b1f866889bf60 (patch)
tree6e709ac6b4223f3065dfa7b3c7328a90ce822d00 /Makefile
parentf51bd7fcf17c474f106a2c14c00d527d3f8601a4 (diff)
downloadqtlocation-mapboxgl-501af4a3807474d6de288939266b1f866889bf60.tar.gz
fix headless rendering on travis and actually execute the headless test
fixes #357
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0c6d6eebb9..65f7812981 100644
--- a/Makefile
+++ b/Makefile
@@ -29,13 +29,11 @@ test: build/test/Makefile
# Runs all test cases
run-tests: test
- @for FILE in build/$(BUILDTYPE)/test_*; do \
- $${FILE}; \
- done
+ (cd build/${BUILDTYPE} && exec find . -maxdepth 1 -name "test_*" -exec {} \;)
test/%: build/test/Makefile
$(MAKE) -C build/test BUILDTYPE=$(BUILDTYPE) V=$(V) $*
- (cd build/$(BUILDTYPE) && ./test_$*)
+ (cd build/$(BUILDTYPE) && exec ./test_$*)
##### Makefile builds ##########################################################