diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-12-13 12:10:34 +0100 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-12-17 10:35:24 +0100 |
commit | a361b94b783bc92296307602f56d8beccad3fd22 (patch) | |
tree | 1ce511c9efd2dc85560735e35e0df0160b1d7dda /test | |
parent | b54d4a68e3967f0e106af520ccd95dbc375fbf22 (diff) | |
download | android-node-v8-a361b94b783bc92296307602f56d8beccad3fd22.tar.gz android-node-v8-a361b94b783bc92296307602f56d8beccad3fd22.tar.bz2 android-node-v8-a361b94b783bc92296307602f56d8beccad3fd22.zip |
build: add a space to clarify skipping crypto msg
This commit adds a space to the message that is displayed for tests that
are skipped when node was built --without-ssl. For example, this is what
is currently displayed:
"release test-https-agent-additional-optionsSkipping as node was
compiled without crypto support"
After this change this will be:
"release test-https-agent-additional-options: Skipping as node was
compiled without crypto support"
PR-URL: https://github.com/nodejs/node/pull/25011
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/testpy/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testpy/__init__.py b/test/testpy/__init__.py index 7d23c47214..2bd976bbbd 100644 --- a/test/testpy/__init__.py +++ b/test/testpy/__init__.py @@ -78,13 +78,13 @@ class SimpleTestCase(test.TestCase): # failure so such tests are also skipped. if (any(flag.startswith('--inspect') for flag in flags) and not self.context.v8_enable_inspector): - print('Skipping as node was compiled without inspector support') + print(': Skipping as node was compiled without inspector support') elif (('--use-bundled-ca' in flags or '--use-openssl-ca' in flags or '--tls-v1.0' in flags or '--tls-v1.1' in flags) and not self.context.node_has_crypto): - print('Skipping as node was compiled without crypto support') + print(': Skipping as node was compiled without crypto support') else: result += flags files_match = FILES_PATTERN.search(source); |