test: change tmp directories prefix

`.tmp` prefix allows easier exclusion

PR-URL: https://github.com/nodejs/node/pull/16372
Refs: https://github.com/nodejs/node/pull/16010
Refs: https://github.com/nodejs/node/issues/16278
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Refael Ackermann 2017-10-21 18:07:19 -04:00
parent 748f5d848f
commit 2be9198097
No known key found for this signature in database
GPG Key ID: CD704BD80FDDDB64
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,6 @@ lib/internal/v8_prof_polyfill.js
lib/punycode.js lib/punycode.js
test/addons/??_* test/addons/??_*
test/fixtures test/fixtures
test/tmp*
tools/eslint tools/eslint
tools/icu tools/icu
node_modules node_modules

View File

@ -38,7 +38,9 @@ const noop = () => {};
exports.fixturesDir = fixturesDir; exports.fixturesDir = fixturesDir;
exports.tmpDirName = 'tmp'; // Using a `.` prefixed name, which is the convention for "hidden" on POSIX,
// gets tools to ignore it by default or by simple rules, especially eslint.
exports.tmpDirName = '.tmp';
// PORT should match the definition in test/testpy/__init__.py. // PORT should match the definition in test/testpy/__init__.py.
exports.PORT = +process.env.NODE_COMMON_PORT || 12346; exports.PORT = +process.env.NODE_COMMON_PORT || 12346;
exports.isWindows = process.platform === 'win32'; exports.isWindows = process.platform === 'win32';