diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-05-02 13:41:45 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-05-02 13:41:45 +0200 |
commit | 93e0c49faa2c657e87c55a881ea06ae9ef2f70f4 (patch) | |
tree | a59924414621e3b98960af16e0caf0b591f695ba /Makefile | |
parent | 70109542291d3698e7e41b456dc22fc153cbc3ce (diff) | |
download | qtlocation-mapboxgl-93e0c49faa2c657e87c55a881ea06ae9ef2f70f4.tar.gz |
add variant test
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -18,14 +18,18 @@ 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 V=$(V) test + make -C build/test BUILDTYPE=$(BUILDTYPE) V=$(V) test # Runs all test cases run-tests: test - @for FILE in build/Release/test_*; do \ + @for FILE in build/$(BUILDTYPE)/test_*; do \ $${FILE}; \ done +test/%: + make -C build/test BUILDTYPE=$(BUILDTYPE) V=$(V) $* + build/$(BUILDTYPE)/test_$* + # Only runs headless test case run-headless-test: build/test/Makefile make -C build/test BUILDTYPE=Debug V=$(V) headless |