mirror of https://github.com/odrling/Aegisub
Support passing a test filter to make test
This commit is contained in:
parent
7cafee39fc
commit
c0c05e982a
|
@ -29,8 +29,9 @@ endif
|
|||
$(d)data: $(d)setup.sh
|
||||
cd $(TOP)tests; ./setup.sh
|
||||
|
||||
gtest_filter ?= *
|
||||
test-libaegisub: $(d)run $(d)data
|
||||
cd $(TOP)tests; ./run
|
||||
cd $(TOP)tests; ./run --gtest_filter="$(gtest_filter)"
|
||||
|
||||
test: $(subst $(GTEST_FILE).cc,test-libaegisub,$(wildcard $(GTEST_FILE).cc))
|
||||
|
||||
|
|
Loading…
Reference in New Issue