summaryrefslogtreecommitdiff
path: root/scripts/main.mk
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/main.mk')
-rw-r--r--scripts/main.mk14
1 files changed, 11 insertions, 3 deletions
diff --git a/scripts/main.mk b/scripts/main.mk
index b2ba014984..0891734543 100644
--- a/scripts/main.mk
+++ b/scripts/main.mk
@@ -53,9 +53,9 @@ SUBMODULES += platform/ios/vendor/SMCalloutView/SMCalloutView.h
platform/ios/vendor/SMCalloutView/SMCalloutView.h:
./scripts/flock.py .git/Submodule.lock git submodule update --init platform/ios/vendor/SMCalloutView
-SUBMODULES += test/ios/KIF/KIF.xcodeproj
-test/ios/KIF/KIF.xcodeproj:
- ./scripts/flock.py .git/Submodule.lock git submodule update --init test/ios/KIF
+SUBMODULES += platform/ios/test/KIF/KIF.xcodeproj
+platform/ios/test/KIF/KIF.xcodeproj:
+ ./scripts/flock.py .git/Submodule.lock git submodule update --init platform/ios/test/KIF
endif
endif
@@ -78,6 +78,8 @@ GYP_FLAGS += -Dasset_lib=$(ASSET)
GYP_FLAGS += -Dheadless_lib=$(HEADLESS)
GYP_FLAGS += -Dtest=$(BUILD_TEST)
GYP_FLAGS += -Drender=$(BUILD_RENDER)
+GYP_FLAGS += -Doffline=$(BUILD_OFFLINE)
+GYP_FLAGS += -Dcoverage=$(ENABLE_COVERAGE)
GYP_FLAGS += -Dcxx_host=$(CXX_HOST)
GYP_FLAGS += --depth=.
GYP_FLAGS += -Goutput_dir=.
@@ -165,6 +167,12 @@ tidy: Ninja/compdb
test-%: Makefile/test
./scripts/run_tests.sh "build/$(HOST_SLUG)/$(BUILDTYPE)/test" --gtest_filter=$*
+check: Makefile/test
+ ./scripts/collect-coverage.sh
+
+coveralls: Makefile/test
+ ./scripts/coveralls.sh
+
#### Helper targets ############################################################
.PHONY: print-env