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
|
COMBINE=${PATH_TOOLS}/combine
|
||||||
|
|
||||||
TESTS_JS := $(shell find "./test" -name 'test-*.js')
|
TESTS := $(shell find "./test" -name 'test-*')
|
||||||
TESTS_SHELL := $(shell find "./test" -name 'test-[^\.]*')
|
|
||||||
|
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
@ -28,7 +27,7 @@ combine: mkbuild
|
||||||
cp ${PATH_BROWSER_TEST} ${PATH_BUILD}
|
cp ${PATH_BROWSER_TEST} ${PATH_BUILD}
|
||||||
|
|
||||||
# run tests
|
# run tests
|
||||||
test: default $(TESTS_JS) $(TESTS_SHELL)
|
test: default $(TESTS)
|
||||||
test-%.js: default
|
test-%.js: default
|
||||||
node $@
|
node $@
|
||||||
test-%: default
|
test-%: default
|
||||||
|
|
Loading…
Reference in New Issue