Distinction between JS and shell tests unnecessary in 'find'
parent
672ef82aca
commit
f572e53e9d
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue