0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Ezequiel Garcia 5f22375922
src: add support to pass flags to dlopen
* add constants for dlopen flags, which are needed
  for dlopen's flag passing.

* introduce an optional parameter for process.dlopen(),
  allowing to pass dlopen flags (using values from os.constants.dlopen).

If no flags are passed, the default behavior is to load the library
with RTLD_LAZY (perform lazy binding) and RTLD_LOCAL (symbols are
available only locally).

PR-URL: https://github.com/nodejs/node/pull/12794
Refs: https://github.com/nodejs/node/pull/4105
Refs: https://github.com/libuv/libuv/pull/1331
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2017-09-08 17:14:03 -04:00
..
abort test,process: run 'abort' suite on Windows 2017-09-03 17:20:20 -04:00
addons src: add support to pass flags to dlopen 2017-09-08 17:14:03 -04:00
addons-napi n-api: adds function to adjust external memory 2017-08-30 22:27:11 +03:00
async-hooks test: remove unused param in test-graph.pipe 2017-08-29 16:31:45 -03:00
cctest module: Allow runMain to be ESM 2017-09-07 15:18:32 -05:00
common tools: add eslint rule for hasCrypto checking 2017-08-30 18:02:58 -03:00
debugger lib,src: fix consistent spacing inside braces 2017-07-21 15:13:47 -04:00
doctool test: continue normalizing fixtures use 2017-08-27 21:14:34 -03:00
es-module module: Allow runMain to be ESM 2017-09-07 15:18:32 -05:00
fixtures tls: multiple PFX in createSecureContext 2017-09-07 21:48:46 -03:00
gc lib,src: fix consistent spacing inside braces 2017-07-21 15:13:47 -04:00
inspector inspector: log exceptions in message handlers 2017-09-07 14:46:53 -07:00
internet test: continue normalizing fixtures use 2017-08-27 21:14:34 -03:00
known_issues test: continue normalizing fixtures use 2017-08-27 21:14:34 -03:00
message lib: instantiate console methods eagerly 2017-08-23 11:41:15 -07:00
parallel src: add support to pass flags to dlopen 2017-09-08 17:14:03 -04:00
pseudo-tty test: adjust indentation for stricter linting 2017-07-27 09:24:20 -07:00
pummel test: continue normalizing fixtures use 2017-08-27 21:14:34 -03:00
sequential test: fix flaky test-readline-interface 2017-09-03 17:12:56 -03:00
testpy module: Allow runMain to be ESM 2017-09-07 15:18:32 -05:00
tick-processor fix --prof-process --preprocess flag 2017-08-23 08:19:14 -07:00
timers test: adjust indentation for stricter linting 2017-07-27 09:24:20 -07:00
.eslintrc.yaml tools: add eslint rule for inspector checking 2017-08-30 18:03:51 -03:00
README.md doc: add missing space in test/README.md 2017-09-08 19:30:36 +03: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.
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).