Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2018-11-05 09:28:34 +0300
committerMyles Borins <mylesborins@google.com>2018-12-03 21:32:56 +0300
commitdddb466f592e2ccfe15fe2d2cf1280ce4e097dd9 (patch)
tree46f652e49d5fbee5606e4c328ee6c47f8d286390 /test
parentcb883bcbb0d81e3702cb7b12cd3439c9cf6ab170 (diff)
test: add crypto check to test-benchmark-http2
Currently, this test will fail when configured --without-ssl. This commit adds a crypto check to have this test skipped when configured without crypto support. PR-URL: https://github.com/nodejs/node/pull/24096 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/sequential/test-benchmark-tls.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/sequential/test-benchmark-tls.js b/test/sequential/test-benchmark-tls.js
index 40c14af8302..7d2f8008268 100644
--- a/test/sequential/test-benchmark-tls.js
+++ b/test/sequential/test-benchmark-tls.js
@@ -1,6 +1,8 @@
'use strict';
const common = require('../common');
+if (!common.hasCrypto)
+ common.skip('missing crypto');
if (!common.hasCrypto)
common.skip('missing crypto');