[Pkg-javascript-commits] [node-foreground-child] 15/69: note skipped test in test output
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Aug 25 11:43:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-foreground-child.
commit 39126677498972f1bcf8a76138b1493c5e295a4f
Author: isaacs <i at izs.me>
Date: Sat Jun 27 14:24:42 2015 -0700
note skipped test in test output
---
test/basic.js | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/test/basic.js b/test/basic.js
index 0f67cbe..51ac091 100644
--- a/test/basic.js
+++ b/test/basic.js
@@ -102,9 +102,7 @@ t.test('exit codes', function (t) {
t.end()
})
-t.test('parent emits exit when SIGTERMed', function (t) {
- if (isZero10OnTravis()) return t.done()
-
+t.test('parent emits exit when SIGTERMed', { skip: isZero10OnTravis() }, function (t) {
var which = ['parent', 'child', 'nobody']
which.forEach(function (who) {
t.test('SIGTERM ' + who, function (t) {
@@ -147,5 +145,6 @@ t.test('beforeExitHandler', function (t) {
})
function isZero10OnTravis () {
- return process.env.TRAVIS && /^v0\.10\.[0-9]+$/.test(process.version)
+ return process.env.TRAVIS && /^v0\.10\.[0-9]+$/.test(process.version) ?
+ 'skip on 0.10 on Travis' : false
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-foreground-child.git
More information about the Pkg-javascript-commits
mailing list