Skip to content

Commit

Permalink
Run regression tests in better order.
Browse files Browse the repository at this point in the history
The test order is specified by the ordered list of test drivers
in node_test/testSuite.txt.
  • Loading branch information
msridhar committed Feb 15, 2014
1 parent 14588ea commit 4fe9c9a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions node_test/testSuite.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiTests.js
astSerializationTests.js
topLevelExprTests.js
unitTests.js
sunspiderTests.js
octaneTests.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"temp": "*"
},
"scripts": {
"test": "./node_modules/.bin/mocha --reporter spec node_test/*.js && python scripts/runalltests.py"
"test": "(cat node_test/testSuite.txt | sed 's/^/node_test\\//' | xargs ./node_modules/.bin/mocha --reporter spec) && python scripts/runalltests.py"
},
"license":"Apache",
"repository" : {
Expand Down

0 comments on commit 4fe9c9a

Please sign in to comment.