summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-08-27 12:22:28 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-08-27 12:37:07 +0200
commita55be0217bdc2b4e15500f9a5cd4aba207d33fc7 (patch)
tree2afd23c9db1b683b994cdf9df3613d402ca0ea07 /Makefile
parent312cae1a05af9046b44f810b267c3e81acdb29e5 (diff)
downloadqtlocation-mapboxgl-a55be0217bdc2b4e15500f9a5cd4aba207d33fc7.tar.gz
test with the current release type's settings to avoid double compiles
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fe44e914d7..c8d11b407e 100644
--- a/Makefile
+++ b/Makefile
@@ -25,11 +25,11 @@ build/test/Makefile: src common config.gypi test/test.gyp
deps/run_gyp test/test.gyp --depth=. -Goutput_dir=.. --generator-output=./build/test -f make
test: build/test/Makefile
- $(MAKE) -C build/test BUILDTYPE=Testing V=$(V) test
+ $(MAKE) -C build/test BUILDTYPE=$(BUILDTYPE) V=$(V) test
test_%: build/test/Makefile
- $(MAKE) -C build/test BUILDTYPE=Testing V=$(V) $*
- (cd build/Testing && exec ./test_$*)
+ $(MAKE) -C build/test BUILDTYPE=$(BUILDTYPE) V=$(V) $*
+ (cd build/$(BUILDTYPE) && exec ./test_$*)
# build Mac OS X project for Xcode
xtest: config.gypi clear_xcode_cache node