Simplify test-js-with-node to simply run *.js in the test directory.

I finally got tired of the tedium of adding files explicitly to the
script.

(imported from commit 4c573fe4752c32a452e592fad687dd5145a173c8)
This commit is contained in:
Steve Howell 2013-08-09 14:05:48 -04:00
parent b9db604c79
commit abba52fd4d
1 changed files with 5 additions and 9 deletions

View File

@ -8,12 +8,8 @@ export NODE_PATH=$STATIC_DIR
NODEJS=$(which nodejs || which node) NODEJS=$(which nodejs || which node)
$NODEJS filter.js # Run all the JS scripts in our test directory. The node command only runs one
$NODEJS stream_color.js # script at a time, hence the use of xargs. The order that the scripts run in now
$NODEJS activity.js # is fairly arbitrary, as they run isolated from each other, and none of them are
$NODEJS util.js # particularly slow.
$NODEJS message_list.js ls -1 *.js | xargs -L 1 $NODEJS
$NODEJS message_tour.js
$NODEJS narrow.js
$NODEJS unread.js
$NODEJS search_suggestion.js