1
0
Fork 0

Distinction between JS and shell tests unnecessary in 'find'

closure/master
Mike Gerwitz 2011-03-11 19:58:24 -05:00
parent 672ef82aca
commit f572e53e9d
1 changed files with 2 additions and 3 deletions

View File

@ -7,8 +7,7 @@ PATH_BROWSER_TEST=${PATH_TOOLS}/browser-test.html
COMBINE=${PATH_TOOLS}/combine
TESTS_JS := $(shell find "./test" -name 'test-*.js')
TESTS_SHELL := $(shell find "./test" -name 'test-[^\.]*')
TESTS := $(shell find "./test" -name 'test-*')
.PHONY: test
@ -28,7 +27,7 @@ combine: mkbuild
cp ${PATH_BROWSER_TEST} ${PATH_BUILD}
# run tests
test: default $(TESTS_JS) $(TESTS_SHELL)
test: default $(TESTS)
test-%.js: default
node $@
test-%: default