mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
test,win: skip addons/load-long-path on WOW64
This test fails on WOW64 because of a bug in the OS, and there is no acceptable workaround. Ref: https://github.com/nodejs/node/issues/3667 PR-URL: https://github.com/nodejs/node/pull/6675 Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: cjihrig - Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
0bfedd13a9
commit
e544b1c40c
2 files changed
+7
No files matched your search
@@ -4,6 +4,11 @@ const fs = require('fs');
|
||||
const path = require('path');
|
||||
const assert = require('assert');
|
||||
|
||||
if (common.isWOW64) {
|
||||
common.skip('doesn\'t work on WOW64');
|
||||
return;
|
||||
}
|
||||
|
||||
common.refreshTmpDir();
|
||||
|
||||
// make a path that is more than 260 chars long.
|
||||
|
||||
@@ -17,6 +17,8 @@ exports.libDir = path.join(exports.testDir, '../lib');
|
||||
exports.tmpDirName = 'tmp';
|
||||
exports.PORT = +process.env.NODE_COMMON_PORT || 12346;
|
||||
exports.isWindows = process.platform === 'win32';
|
||||
exports.isWOW64 = exports.isWindows &&
|
||||
(process.env['PROCESSOR_ARCHITEW6432'] !== undefined);
|
||||
exports.isAix = process.platform === 'aix';
|
||||
exports.isLinuxPPCBE = (process.platform === 'linux') &&
|
||||
(process.arch === 'ppc64') &&
|
||||
|
||||
Reference in new issue
Block a user