Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: Makefile

Issue 23257012: Make it possible to run specific tests via make test (Closed)
Patch Set: Created Oct. 29, 2013, 2:36 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,8 @@
ANDROID_PARAMETERS += android_target_arch=arm
ANDROID_PARAMETERS += arm_neon=0 armv7=0 arm_fpu=off vfp3=off
+TEST_EXECUTABLE = build/out/Debug/tests
+
.PHONY: all test clean v8_android android
all:
@@ -11,7 +13,11 @@
$(MAKE) -C build
test: all
- build/out/Debug/tests
+ifdef FILTER
+ $(TEST_EXECUTABLE) --gtest_filter=$(FILTER)
+else
+ $(TEST_EXECUTABLE)
+endif
clean:
$(RM) -r build
« no previous file with comments | « no previous file | README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld