From f572e53e9ded3bdc414870f8c1692a6974ece42a Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Fri, 11 Mar 2011 19:58:24 -0500 Subject: [PATCH] Distinction between JS and shell tests unnecessary in 'find' --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0cf386c..8388f9b 100644 --- a/Makefile +++ b/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