diff options
author | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2016-05-11 15:34:52 -0400 |
---|---|---|
committer | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2016-05-12 16:43:35 -0400 |
commit | 52bae222a3a8480b2b30d8dc4629b64a284410d4 (patch) | |
tree | 480b7f6bfc0c4ef6863c2aaec3260c893d558e80 /test/parallel/test-tls-ocsp-callback.js | |
parent | dffafde7f1b5335bcb50c3c72d55add41ca00924 (diff) | |
download | node-new-52bae222a3a8480b2b30d8dc4629b64a284410d4.tar.gz |
test: abstract skip functionality to common
The tap skipping output is so prevalent yet obscure in nature that we
ought to move it into it's own function in test/common.js
PR-URL: https://github.com/nodejs/node/pull/6697
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Diffstat (limited to 'test/parallel/test-tls-ocsp-callback.js')
-rw-r--r-- | test/parallel/test-tls-ocsp-callback.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-tls-ocsp-callback.js b/test/parallel/test-tls-ocsp-callback.js index 27afb3431a..190c716694 100644 --- a/test/parallel/test-tls-ocsp-callback.js +++ b/test/parallel/test-tls-ocsp-callback.js @@ -2,17 +2,17 @@ var common = require('../common'); if (!process.features.tls_ocsp) { - console.log('1..0 # Skipped: node compiled without OpenSSL or ' + + common.skip('node compiled without OpenSSL or ' + 'with old OpenSSL version.'); return; } if (!common.opensslCli) { - console.log('1..0 # Skipped: node compiled without OpenSSL CLI.'); + common.skip('node compiled without OpenSSL CLI.'); return; } if (!common.hasCrypto) { - console.log('1..0 # Skipped: missing crypto'); + common.skip('missing crypto'); return; } var tls = require('tls'); |