Skip to content

Commit

Permalink
Remove Makefile and add new script for running tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kami committed May 30, 2012
1 parent 8214037 commit ce5cc16
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 25 deletions.
24 changes: 0 additions & 24 deletions Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -22,7 +22,7 @@
"lib": "lib"
},
"scripts": {
"test": "make test"
"test": "./scripts/tests.sh"
},
"engines": {
"node": ">= 0.4.0"
Expand Down
9 changes: 9 additions & 0 deletions scripts/tests.sh
@@ -0,0 +1,9 @@
if [ ! $TEST_FILES ]; then
TEST_FILES=$(find tests/ -type f -name "test-*.js" -print0 | tr "\0" " " | sed '$s/.$//')
fi

NODE_PATH=lib node_modules/whiskey/bin/whiskey \
--tests "${TEST_FILES}" \
--scope-leaks \
--real-time \
--sequential

0 comments on commit ce5cc16

Please sign in to comment.