Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
test: remove catch without argument binding and disable failing test …
Browse files Browse the repository at this point in the history
…cases
  • Loading branch information
boingoing committed Jun 18, 2018
1 parent c88fd98 commit 1f550c9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions test/abort/abort.status
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ prefix abort
# This test is disabled for chakra engine because it depends
# on v8-option --abort-on-uncaught-exception
test-abort-uncaught-exception : SKIP

# These tests require worker_threads which is not implemented
# in node-chakracore
test-addon-uv-handle-leak : SKIP
2 changes: 1 addition & 1 deletion test/addons/uv-handle-leak/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ try {
const { isMainThread } = require('worker_threads');
if (!isMainThread)
common.skip('Cannot run test in environment with clean-exit policy');
} catch {}
} catch (e) {}

binding.leakHandle();
binding.leakHandle(0);
Expand Down
2 changes: 1 addition & 1 deletion test/common/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ exports.isGlibc = () => {
const nmOut = spawnSync('nm', ['-D', libcInfo[0][1]]).stdout;
if (/gnu_get_libc_version/.test(nmOut))
return isGlibc = true;
} catch {}
} catch (e) {}
return isGlibc = false;
};

Expand Down
1 change: 1 addition & 0 deletions test/es-module/es-module.status
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ test-esm-snapshot : SKIP
test-esm-symlink : SKIP
test-esm-symlink-main : SKIP
test-esm-throw-undefined : SKIP
test-esm-cjs-main : SKIP
1 change: 1 addition & 0 deletions test/parallel/parallel.status
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ test-async-hooks-destroy-on-gc : PASS,FLAKY
test-error-serdes : SKIP

# These tests are for worker_threads support, which is currently not implemented in Node-ChakraCore
test-async-wrap-missing-method : SKIP
test-message-channel : SKIP
test-message-channel-sharedarraybuffer : SKIP
test-message-port : SKIP
Expand Down

0 comments on commit 1f550c9

Please sign in to comment.