Skip to content

Commit

Permalink
test: disable test-tick-processor - aix and be ppc
Browse files Browse the repository at this point in the history
This test is already partially disabled for several platforms with
the comment that the required info is not provided at the C++ level.
I'm adding AIX as and PPC BE linux as they currently fall into
the same category.  We are working to see if we can change that
in v8 but it will be non-trivial if is possible at all so I don't
want to leave the CI with failing tests until that point.

PR-URL: #3491
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
mhdawson authored and rvagg committed Oct 26, 2015
1 parent 70fca2a commit 08da5c2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions test/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ exports.tmpDirName = 'tmp';
exports.PORT = +process.env.NODE_COMMON_PORT || 12346;
exports.isWindows = process.platform === 'win32';
exports.isAix = process.platform === 'aix';
exports.isLinuxPPCBE = (process.platform === 'linux') &&
(process.arch === 'ppc64') &&
(os.endianness() === 'BE');
exports.isSunOS = process.platform === 'sunos';
exports.isFreeBSD = process.platform === 'freebsd';

function rimrafSync(p) {
try {
Expand Down
8 changes: 5 additions & 3 deletions test/parallel/test-tick-processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ runTest(/LazyCompile.*\[eval\]:1|.*% UNKNOWN/,
};
setTimeout(function() { process.exit(0); }, 2000);
f();`);
if (process.platform === 'win32' ||
process.platform === 'sunos' ||
process.platform === 'freebsd') {
if (common.isWindows ||
common.isSunOS ||
common.isAix ||
common.isLinuxPPCBE ||
common.isFreeBSD) {
console.log('1..0 # Skipped: C++ symbols are not mapped for this os.');
return;
}
Expand Down

0 comments on commit 08da5c2

Please sign in to comment.