diff options
author | Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | 2015-07-06 03:24:12 +0000 |
---|---|---|
committer | Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | 2015-07-20 15:46:30 +0530 |
commit | 69298d36cfe1d5ad2ade0e64586959cc18c7ea4e (patch) | |
tree | 4a59741049b6fd52fdfd14e285c060f5c61cf543 /test/parallel/test-intl.js | |
parent | 6b85d5a4b356598e2a561ed23e6019bc45456bc8 (diff) | |
download | android-node-v8-69298d36cfe1d5ad2ade0e64586959cc18c7ea4e.tar.gz android-node-v8-69298d36cfe1d5ad2ade0e64586959cc18c7ea4e.tar.bz2 android-node-v8-69298d36cfe1d5ad2ade0e64586959cc18c7ea4e.zip |
test: formatting skip messages for TAP parsing
This patch makes the skip messages consistent so that the TAP plugin
in CI can parse the messages properly. The format will be
1..0 # Skipped: [Actual reason why the test is skipped]
PR-URL: https://github.com/nodejs/io.js/pull/2109
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Diffstat (limited to 'test/parallel/test-intl.js')
-rw-r--r-- | test/parallel/test-intl.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-intl.js b/test/parallel/test-intl.js index 8701d90f7c..7288febf9e 100644 --- a/test/parallel/test-intl.js +++ b/test/parallel/test-intl.js @@ -24,7 +24,7 @@ if (!haveIntl) { '"Intl" object is NOT present but v8_enable_i18n_support is ' + enablei18n; assert.equal(enablei18n, false, erMsg); - console.log('Skipping Intl tests because Intl object not present.'); + console.log('1..0 # Skipped: Intl tests because Intl object not present.'); } else { var erMsg = @@ -46,8 +46,8 @@ if (!haveIntl) { // If list is specified and doesn't contain 'en' then return. if (process.config.variables.icu_locales && !haveLocale('en')) { - console.log('Skipping detailed Intl tests because English is not listed ' + - 'as supported.'); + console.log('1..0 # Skipped: detailed Intl tests because English is not ' + + 'listed as supported.'); // Smoke test. Does it format anything, or fail? console.log('Date(0) formatted to: ' + dtf.format(date0)); return; |