0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Anna Henningsen 4dff05f4a7 src: fix process.abort() interaction with V8
Since V8 5.9 V8 installs a default signal handler for some signals
when creating a default platform instance that prints a stack trace.

However, Node already does the same thing, so it would seem like the
two different stack traces would be printed; also, the V8 handler
would lead to a `SIGSEGV` under some circumstances, rather than
letting the abort continue normally.

Resolve this by disabling V8’s signal handler by default.

PR-URL: https://github.com/nodejs/node/pull/13985
Fixes: https://github.com/nodejs/node/issues/13865
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-07-02 15:42:22 -07:00
..
abort src: fix process.abort() interaction with V8 2017-07-02 15:42:22 -07:00
addons test: replace indexOf with includes and startsWith 2017-07-02 23:36:39 +02:00
addons-napi n-api: add napi_delete_property() 2017-07-01 11:40:14 -04:00
async-hooks src: fix process.abort() interaction with V8 2017-07-02 15:42:22 -07:00
cctest test: check uv_ip4_addr return value 2017-06-26 10:28:13 -07:00
common benchmark,lib,test: use braces for multiline block 2017-06-23 14:43:20 -07:00
debugger test: fix RegExp nits 2017-06-21 03:40:27 +03:00
disabled test: replace indexOf with includes and startsWith 2017-07-02 23:36:39 +02:00
doctool test: replace indexOf with includes and startsWith 2017-07-02 23:36:39 +02:00
fixtures repl: fix old history error handling 2017-06-30 19:21:23 +02:00
gc
inspector test: fix RegExp nits 2017-06-21 03:40:27 +03:00
internet test: replace indexOf with includes and startsWith 2017-07-02 23:36:39 +02:00
known_issues
message tools: update ESLint to v4.0.0 2017-06-17 12:56:58 -07:00
parallel test: mark test-npm-install flaky on arm 2017-07-02 18:29:27 -04:00
pseudo-tty
pummel test: replace indexOf with includes and startsWith 2017-07-02 23:36:39 +02:00
sequential test: make http(s)-set-timeout-server more similar 2017-06-26 21:08:09 +03:00
testpy
tick-processor
timers
.eslintrc.yaml
README.md src,lib,test,doc: correct misspellings 2017-06-17 19:17:46 +02:00

Node.js Core Tests

This directory contains code and data used to test the Node.js implementation.

For a detailed guide on how to write tests in this directory, see the guide on writing tests.

On how to run tests in this directory, see the contributing guide.

Test Directories

Directory Runs on CI Purpose
abort No Tests for when the --abort-on-uncaught-exception flag is used.
addons Yes Tests for addon functionality along with some tests that require an addon to function properly.
cctest Yes C++ test that is run as part of the build process.
common Common modules shared among many tests. [Documentation]
debugger No Tests for debugger functionality along with some tests that require an addon to function properly.
disabled No Tests that have been disabled from running for various reasons.
fixtures Test fixtures used in various tests throughout the test suite.
gc No Tests for garbage collection related functionality.
inspector Yes Tests for the V8 inspector integration.
internet No Tests that make real outbound connections (mainly networking related modules). Tests for networking related modules may also be present in other directories, but those tests do not make outbound connections.
known_issues Yes Tests reproducing known issues within the system. All tests inside of this directory are expected to fail consistently. If a test doesn't fail on certain platforms, those should be skipped via `known_issues.status`.
message Yes Tests for messages that are output for various conditions (console.log, error messages etc.)
parallel Yes Various tests that are able to be run in parallel.
pseudo-tty Yes Tests that require stdin/stdout/stderr to be a TTY.
pummel No Various tests for various modules / system functionality operating under load.
sequential Yes Various tests that are run sequentially.
testpy Test configuration utility used by various test suites.
tick-processor No Tests for the V8 tick processor integration. The tests are for the logic in lib/internal/v8_prof_processor.js and lib/internal/v8_prof_polyfill.js. The tests confirm that the profile processor packages the correct set of scripts from V8 and introduces the correct platform specific logic.
timers No Tests for timing utilities (setTimeout and setInterval).