| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 70fca2a commit 08da5c2
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,6 +14,11 @@ exports.tmpDirName = 'tmp'; | |||
| 14 | 14 | exports.PORT = +process.env.NODE_COMMON_PORT || 12346; | |
| 15 | 15 | exports.isWindows = process.platform === 'win32'; | |
| 16 | 16 | exports.isAix = process.platform === 'aix'; | |
| 17 | + exports.isLinuxPPCBE = (process.platform === 'linux') && | ||
| 18 | + (process.arch === 'ppc64') && | ||
| 19 | + (os.endianness() === 'BE'); | ||
| 20 | + exports.isSunOS = process.platform === 'sunos'; | ||
| 21 | + exports.isFreeBSD = process.platform === 'freebsd'; | ||
| 17 | 22 | ||
| 18 | 23 | function rimrafSync(p) { | |
| 19 | 24 | try { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,9 +20,11 @@ runTest(/LazyCompile.*\[eval\]:1|.*% UNKNOWN/, | |||
| 20 | 20 | }; | |
| 21 | 21 | setTimeout(function() { process.exit(0); }, 2000); | |
| 22 | 22 | f();`); | |
| 23 | - if (process.platform === 'win32' || | ||
| 24 | - process.platform === 'sunos' || | ||
| 25 | - process.platform === 'freebsd') { | ||
| 23 | + if (common.isWindows || | ||
| 24 | + common.isSunOS || | ||
| 25 | + common.isAix || | ||
| 26 | + common.isLinuxPPCBE || | ||
| 27 | + common.isFreeBSD) { | ||
| 26 | 28 | console.log('1..0 # Skipped: C++ symbols are not mapped for this os.'); | |
| 27 | 29 | return; | |
| 28 | 30 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments