0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/sequential
legendecas 7b7e7bd185
src,lib: make ^C print a JS stack trace
If terminating the process with ctrl-c / SIGINT, prints a JS stacktrace
leading up to the currently executing code.

The feature would be enabled under option `--trace-sigint`.

Conditions of no stacktrace on sigint:

- has (an) active sigint listener(s);
- main thread is idle (i.e. uv polling), a message instead of stacktrace
  would be printed.

PR-URL: https://github.com/nodejs/node/pull/29207
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Christopher Hiller <boneskull@boneskull.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2020-01-28 13:52:27 +08:00
..
sequential.status test: skip the unsupported test cases for IBM i 2019-12-25 23:11:02 +01:00
test-async-wrap-getasyncid.js src,lib: make ^C print a JS stack trace 2020-01-28 13:52:27 +08:00
test-buffer-creation-regression.js test,tools: enable running tests under workers 2018-06-06 19:44:11 +02:00
test-child-process-emfile.js child_process: setup stdio on error when possible 2019-05-20 09:33:10 -04:00
test-child-process-execsync.js lib: correct error.errno to always be numeric 2019-06-17 10:18:09 +08:00
test-child-process-exit.js tools: add 'spaced-comment' into eslint rules 2018-04-01 22:33:13 +08:00
test-child-process-pass-fd.js test: fix flaky test-child-process-pass-fd 2017-12-12 21:14:43 -08:00
test-cli-syntax-bad.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-cli-syntax-file-not-found.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-cli-syntax-good.js benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
test-cli-syntax-require.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-cluster-inspect-brk.js test: skipIfInspectorDisabled cluster-inspect-brk 2017-05-02 07:50:16 +02:00
test-cluster-net-listen-ipv6only-none.js test: fix flaky test-cluster-net-listen-ipv6only-none 2019-09-30 18:56:17 -07:00
test-cluster-net-listen-ipv6only-rr.js test: eliminate port collision 2019-02-28 10:06:42 +05:30
test-cluster-send-handle-large-payload.js test: fix test-cluster-send-handle-large-payload 2018-03-14 22:28:18 -07:00
test-cpu-prof-default.js test: move --cpu-prof tests to sequential 2019-06-16 23:42:58 +08:00
test-cpu-prof-dir-absolute.js test: move --cpu-prof tests to sequential 2019-06-16 23:42:58 +08:00
test-cpu-prof-dir-and-name.js test: move --cpu-prof tests to sequential 2019-06-16 23:42:58 +08:00
test-cpu-prof-dir-relative.js test: move --cpu-prof tests to sequential 2019-06-16 23:42:58 +08:00
test-cpu-prof-dir-worker.js test: move --cpu-prof tests to sequential 2019-06-16 23:42:58 +08:00
test-cpu-prof-drained.js test: move --cpu-prof tests to sequential 2019-06-16 23:42:58 +08:00
test-cpu-prof-exit.js test: move --cpu-prof tests to sequential 2019-06-16 23:42:58 +08:00
test-cpu-prof-invalid-options.js test: move --cpu-prof tests to sequential 2019-06-16 23:42:58 +08:00
test-cpu-prof-kill.js test: move --cpu-prof tests to sequential 2019-06-16 23:42:58 +08:00
test-cpu-prof-name.js test: move --cpu-prof tests to sequential 2019-06-16 23:42:58 +08:00
test-cpu-prof-worker-argv.js test: move --cpu-prof tests to sequential 2019-06-16 23:42:58 +08:00
test-crypto-timing-safe-equal.js test: refactor common.expectsError 2019-12-31 15:54:20 +01:00
test-debug-prompt.js test: fix flaky test-debug-prompt 2018-07-15 22:50:16 -07:00
test-debugger-debug-brk.js process: move DEP0062 (node --debug) to end-of-life 2019-02-02 05:45:05 +08:00
test-debugger-repeat-last.js test: continue normalizing fixtures use 2017-08-27 21:14:34 -03:00
test-deprecation-flags.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test-dgram-bind-shared-ports.js benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
test-dgram-implicit-bind-failure.js dgram: hide underscored Socket properties 2018-07-28 00:35:08 -04:00
test-dgram-pingpong.js test: fix test-dgram-pingpong assertion arg order 2018-10-15 12:00:00 +02:00
test-fs-stat-sync-overflow.js test: address nits and rename the corresponding fixture 2018-03-08 10:37:29 -06:00
test-fs-watch.js test: skip the unsupported test cases for IBM i 2019-12-25 23:11:02 +01:00
test-gc-http-client.js test: improve test-gc-http-client 2018-10-01 21:48:00 -07:00
test-heap-prof.js inspector: implement --heap-prof 2019-05-26 22:18:00 +02:00
test-heapdump-flag.js lib,src,doc: add --heapsnapshot-signal CLI flag 2019-04-12 17:16:46 -04:00
test-heapdump.js test: refactor common.expectsError 2019-12-31 15:54:20 +01:00
test-http2-large-file.js test: optimize test-http2-large-file 2019-03-20 09:50:52 -07:00
test-http2-max-session-memory.js test: refactor common.expectsError 2019-12-31 15:54:20 +01:00
test-http2-ping-flood.js test: fix flaky test-http2-ping-flood 2018-03-19 10:17:58 -07:00
test-http2-settings-flood.js test: fix flaky test-http2-settings-flood 2018-03-16 10:26:55 -07:00
test-http2-timeout-large-write-file.js test: clean tmpdir on process exit 2019-08-10 19:22:11 -07:00
test-http2-timeout-large-write.js test: simplify assertion in http2 tests 2018-09-16 20:37:30 -07:00
test-http-econnrefused.js benchmark,doc,lib,test: capitalize comments 2019-02-28 18:31:10 +01:00
test-http-keep-alive-large-write.js net,src: refactor writeQueueSize tracking 2017-12-18 09:58:02 -05:00
test-http-keepalive-maxsockets.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-http-max-sockets.js test: rename test-regress-GH-877.js 2018-03-08 10:37:43 -06:00
test-http-regr-gh-2928.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-http-server-keep-alive-timeout-slow-client-headers.js test: move timing-dependent tests to sequential 2017-07-22 07:53:27 +03:00
test-http-server-keep-alive-timeout-slow-server.js test: move timing-dependent tests to sequential 2017-07-22 07:53:27 +03:00
test-https-connect-localport.js test: refactor test-https-connect-localport 2019-03-24 07:56:25 -07:00
test-https-keep-alive-large-write.js net,src: refactor writeQueueSize tracking 2017-12-18 09:58:02 -05:00
test-https-server-keep-alive-timeout.js test: scale keepalive timeouts for slow machines 2019-12-08 21:05:59 -08:00
test-init.js tools: capitalize sentences 2018-12-10 17:07:18 +01:00
test-inspector-async-call-stack-abort.js test: remove usage of process.binding() 2019-03-07 17:43:21 +01:00
test-inspector-async-call-stack.js test: use useful message argument in test function 2019-11-25 21:33:13 -08:00
test-inspector-async-hook-setup-at-inspect-brk.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector-async-hook-setup-at-signal.js test: remove usage of process.binding() 2019-03-07 17:43:21 +01:00
test-inspector-async-stack-traces-promise-then.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector-async-stack-traces-set-interval.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector-break-e.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector-break-when-eval.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector-console.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector-contexts.js test: skip the unsupported test cases for IBM i 2019-12-25 23:11:02 +01:00
test-inspector-debug-brk-flag.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector-debug-end.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector-enabled.js lib: make coverage work for Node.js 2018-11-03 18:35:04 -07:00
test-inspector-exception.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector-has-inspector-false.js process: expose process.features.inspector 2019-02-02 05:41:45 +08:00
test-inspector-invalid-args.js src: simplify DEP0062 logic 2019-07-09 16:50:59 -04:00
test-inspector-ip-detection.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector-module.js test: refactor common.expectsError 2019-12-31 15:54:20 +01:00
test-inspector-not-blocked-on-idle.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector-open.js test: replace Object.assign with object spread 2019-11-12 17:19:22 -08:00
test-inspector-overwrite-config.js test: make crashOnUnhandleRejection opt-out 2018-07-19 08:47:28 +02:00
test-inspector-port-cluster.js test: refactor common.expectsError 2019-12-31 15:54:20 +01:00
test-inspector-port-zero.js assert: stricter ifError 2018-01-24 13:16:09 +01:00
test-inspector-resource-name-to-url.js inspector: implemented V8InspectorClient::resourceNameToUrl 2018-09-14 08:32:08 -07:00
test-inspector-runtime-evaluate-with-timeout.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector-scriptparsed-context.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector-stop-profile-after-done.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector-stops-no-file.js test: remove unused parameter 2017-11-21 07:49:29 -08:00
test-inspector-stress-http.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-inspector.js test: remove unnecessary --expose-internals flags 2019-10-10 11:59:31 -07:00
test-module-loading.js lib: no need to strip BOM or shebang for scripts 2019-06-01 10:01:15 -04:00
test-net-better-error-messages-port.js test: use dynamic port instead of common.PORT 2017-05-09 13:25:05 -07:00
test-net-bytes-per-incoming-chunk-overhead.js test: increase limit again for network space overhead test 2019-11-08 15:53:36 +01:00
test-net-connect-handle-econnrefused.js test: refactor net-connect-handle-econnrefused 2019-04-27 08:21:51 +02:00
test-net-connect-local-error.js test: add test for internalConnect() when address type is IPv6 2018-08-28 00:00:18 +02:00
test-net-GH-5504.js test: clean up inappropriate language 2017-11-22 16:48:04 +02:00
test-net-listen-shared-ports.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test-net-localport.js test: move common.PORT tests to sequential 2017-09-10 23:56:30 -03:00
test-net-reconnect-error.js test: reverse order of args in reconnect-error assert 2018-10-15 12:08:04 +02:00
test-net-response-size.js test: address nits and rename the corresponding fixture 2018-03-08 10:37:29 -06:00
test-net-server-address.js test: use block-scoping in test-net-server-address 2019-12-03 12:58:38 -08:00
test-net-server-bind.js test: refactor test-net-server-bind 2017-05-31 22:09:54 -07:00
test-next-tick-error-spin.js doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
test-perf-hooks.js test: refactor common.expectsError 2019-12-31 15:54:20 +01:00
test-performance-eventloopdelay.js test: refactor common.expectsError 2019-12-31 15:54:20 +01:00
test-pipe.js test: fix assert.strictEqual params order 2018-10-14 22:29:45 +02:00
test-process-warnings.js test: use fixtures in test-process-warnings 2017-10-12 18:18:39 -07:00
test-repl-timeout-throw.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
test-require-cache-without-stat.js test: improve to use template string 2018-01-17 08:50:02 +08:00
test-resolution-inspect-brk.js module: ignore resolution failures for inspect-brk 2019-12-04 23:30:25 -05:00
test-stream2-fs.js test: use ES6 classes instead of util.inherits 2017-11-12 10:29:45 -08:00
test-stream2-stderr-sync.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
test-timers-block-eventloop.js test: remove common.busyLoop() 2019-12-06 22:03:00 -05:00
test-timers-blocking-callback.js test: remove common.busyLoop() 2019-12-06 22:03:00 -05:00
test-timers-set-interval-excludes-callback-duration.js test: remove common.busyLoop() 2019-12-06 22:03:00 -05:00
test-tls-connect.js test: move test_[key|ca|cert] to fixtures/keys/ 2019-06-10 09:56:55 -07:00
test-tls-lookup.js test: refactor common.expectsError 2019-12-31 15:54:20 +01:00
test-tls-psk-client.js tls: add PSK support 2019-12-25 12:24:42 +01:00
test-tls-securepair-client.js test: remove uneeded agent keypair in fixtures/ 2019-06-10 09:57:28 -07:00
test-tls-session-timeout.js test: remove uneeded agent keypair in fixtures/ 2019-06-10 09:57:28 -07:00
test-util-debug.js util: add colors to debuglog() 2019-12-25 11:09:16 +01:00
test-vm-timeout-rethrow.js src: assign ERR_SCRIPT_EXECUTION_* codes in C++ 2018-04-25 23:46:08 +08:00
test-worker-prof.js test: move test-worker-prof to sequential 2019-11-26 10:17:04 -08:00
testcfg.py