test: run tests in parallel, common improvements

* Allow running tests in mixed parallel/sequential modes
* Add -J flag for running tests on all available CPUs
* Support TEST_THREAD_ID in test/common.js and use it for tmpDir and PORT
* make: use -J flag

Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
PR-URL: https://github.com/iojs/io.js/pull/172
Fix: iojs/io.js#139
This commit is contained in:
Fedor Indutny
2014-12-17 20:34:21 +07:00
parent 0e19476595
commit b7d247856e
6 changed files with 73 additions and 20 deletions

1
.gitignore vendored
View File

@@ -9,6 +9,7 @@ tags
*.pyc
doc/api.xml
tmp/
test/tmp*/
node
node_g
*.swp