node/test/inspector
Daniel Bevenius ab28e0a86a test: skip test-bindings if inspector is disabled
If node is configured --without-inspector/--without-ssl this test will
fail with the following error:
Path: inspector/test-bindings
inspector.js:8
  throw new Error('Inspector is not available');
  ^

Error: Inspector is not available
    at inspector.js:8:9
    at NativeModule.compile (bootstrap_node.js:549:7)

This commit skips this test if the inspector is disabled.

PR-URL: https://github.com/nodejs/node/pull/13186
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
2017-05-26 05:20:26 +02:00
..
inspector-helper.js inspector: fix process._debugEnd() for inspector 2017-05-22 11:18:31 -07:00
inspector.status test: fix flaky test-inspector 2016-11-23 10:21:48 -08:00
test-bindings.js test: skip test-bindings if inspector is disabled 2017-05-26 05:20:26 +02:00
test-inspector-ip-detection.js inspector: proper WS URLs when bound to 0.0.0.0 2017-03-13 10:41:51 -07:00
test-inspector-stops-no-file.js inspector: check if connected before waiting 2016-12-06 14:28:20 -08:00
test-inspector.js inspector: report when main context is destroyed 2017-05-05 11:50:18 -07:00
test-not-blocked-on-idle.js test: make tests pass when configured without-ssl 2017-03-04 20:16:52 +01:00
test-off-no-session.js inspector: fix process._debugEnd() for inspector 2017-05-22 11:18:31 -07:00
test-off-with-session-then-on.js inspector: fix process._debugEnd() for inspector 2017-05-22 11:18:31 -07:00
testcfg.py inspector: introduce a smoke test 2016-09-19 12:40:16 -07:00