Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ignore IO tests until yeti works with echoecho

  • Loading branch information...
commit cfe56a862ef63169ee64124cb9ed634d2dcaef72 1 parent 2a76849
@davglass davglass authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 lib/cmds/test.js
View
9 lib/cmds/test.js
@@ -258,7 +258,7 @@ mods = {
});
},
yeti: function() {
- var tests = this.resolveTests(),
+ var tests = this.resolveTests(['io']),
yetiBin = path.join(__dirname, '../../node_modules/.bin/yeti'),
gbase = path.join(git.findRoot(), '../'),
child, self = this;
@@ -287,7 +287,7 @@ mods = {
log.info('yeti tests complete');
});
},
- resolveTests: function() {
+ resolveTests: function(excludes) {
var tests = [], base,
self = this, batch,
exclude = {},
@@ -298,6 +298,11 @@ mods = {
exclude[m] = true;
});
}
+ if (excludes) {
+ excludes.forEach(function(m) {
+ exclude[m] = true;
+ });
+ }
if (!util.exists(testPath)) {
testPath = path.join(this.module.dir, this.module.name, 'tests', 'unit');
}
Please sign in to comment.
Something went wrong with that request. Please try again.