exclude known test failures on windows

This commit is contained in:
akhil 2013-12-30 11:50:11 -08:00
parent b4c738cd9a
commit 5babb2dd93
2 changed files with 23 additions and 2 deletions

View File

@ -60,8 +60,18 @@ var colorize = !(process.platform === 'win32' && typeof java != 'undefined');
var testNames = [];
var exclusions = [];
try {
exclusions = fs.readFileSync(process.platform +
'-test-exclusions.txt').toString('utf8').split('\n');
exclusions = fs.readFileSync(
process.platform + '-test-exclusions.txt')
.toString('utf8')
.split('\n')
.map(function(e) {
var comment = e.indexOf(' ');
if (comment > 0) {
return e.substr(0, comment).trim();
} else {
return e.trim();
}
})
} catch (ignore) {}
stderr.write('\n');

11
win32-test-exclusions.txt Normal file
View File

@ -0,0 +1,11 @@
test-child-process-detached.js https://java.net/jira/browse/AVATAR_JS-124
test-fs-realpath.js https://java.net/jira/browse/AVATAR_JS-125
test-fs-symlink-dir-junction.js https://java.net/jira/browse/AVATAR_JS-126
test-http-curl-chunk-problem.js https://java.net/jira/browse/AVATAR_JS-127
test-http-incoming-pipelined-socket-destroy.js https://java.net/jira/browse/AVATAR_JS-128
test-listen-fd-ebadf.js https://java.net/jira/browse/AVATAR_JS-129
test-regress-GH-3542.js https://java.net/jira/browse/AVATAR_JS-131
test-regress-GH-746.js https://java.net/jira/browse/AVATAR_JS-132
test-stdout-close-unref.js https://java.net/jira/browse/AVATAR_JS-133
test-stream2-stderr-sync.js https://java.net/jira/browse/AVATAR_JS-134
test-tls-server-verify.js https://java.net/jira/browse/AVATAR_JS-135