1
0
Fork 0

Combine script now recognizes new index and combine test case names

perfodd
Mike Gerwitz 2014-01-20 22:26:03 -05:00
parent 8789be1c4a
commit 6ed39950f2
1 changed files with 2 additions and 5 deletions

View File

@ -132,13 +132,10 @@ done
# include tests? # include tests?
if [ "$INC_TEST" ]; then if [ "$INC_TEST" ]; then
# note that not all tests are included # note that not all tests are included
TEST_CASES=$( cd "$PATH_TEST"; find . \ TEST_CASES=$( cd "$PATH_TEST"; find . -name '*Test*.js' \
\( -name 'test-*.js' \
-o -name '*Test*.js' \
\) \
| sed 's/^.\///' \ | sed 's/^.\///' \
| sort \ | sort \
| grep -v 'test-\(combine\(-pre-es5\)\?\|index\).js' \ | grep -v '\(Combine\(PreEs5\)\?\|Index\)Test.js' \
) )
# find include files separately so we can output those before the tests # find include files separately so we can output those before the tests