test: make temp path customizable
authorJohan Bergström <bugs@bergstroem.nu>
Mon, 12 Oct 2015 04:11:57 +0000 (15:11 +1100)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:41 +0000 (11:52 -0800)
commit6b2ef0efac5939748eb5446294a7acb211cfba9b
tree3489e6c359107019d60b948ce69c788944dd8058
parent4d37472ea74c919aa86b84b86b59de6fa6d78306
test: make temp path customizable

In CI we previously passed `NODE_COMMON_PIPE` to the test runner to
avoid long filenames. Add an option to the test runner that allows the
user to change the temporary directory instead. This also allows us to
run test suites in parallel since `NODE_COMMON_PIPE` otherwise would
have been used from multiple tests at the same time.

PR-URL: https://github.com/nodejs/node/pull/3325
Reviewed-By: Joao Reis <reis@janeasystems.com>
test/common.js
tools/test.py