1
0
Fork 0

Reformatted Makefile to support parallel processing of performance tests

closure/master
Mike Gerwitz 2011-03-11 19:47:00 -05:00
parent 05e249def4
commit db5a5bac58
1 changed files with 5 additions and 2 deletions

View File

@ -7,6 +7,8 @@ PATH_BROWSER_TEST=${PATH_TOOLS}/browser-test.html
PATH_TEST=./test PATH_TEST=./test
PATH_PERF_TEST=${PATH_TEST}/perf PATH_PERF_TEST=${PATH_TEST}/perf
PERF_TESTS := $(shell find "$(PATH_PERF_TEST)" -name 'perf-*.js')
COMBINE=${PATH_TOOLS}/combine COMBINE=${PATH_TOOLS}/combine
@ -36,8 +38,9 @@ test: default
done; done;
# performance tests # performance tests
perf: default perf: default $(PERF_TESTS)
find "${PATH_PERF_TEST}" -name 'perf-*.js' -exec node {} \; perf-%.js: default
@node $@
# clean up build dir # clean up build dir
clean: clean: