Skip to content

Commit

Permalink
ignore routes dir
Browse files Browse the repository at this point in the history
  • Loading branch information
shackbarth committed Jul 18, 2014
1 parent eabd64a commit 81491b7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/lib/test_runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require:true, __dirname:true, console:true */
path = require('path'),
extDirs = _.filter(fs.readdirSync(path.join(__dirname, "..")), function (filename) {
return fs.statSync(path.join(__dirname, "..", filename)).isDirectory() &&
!_.contains(["lib", "build"], filename);
!_.contains(["lib", "build", "routes"], filename);
}),
specFiles = _.flatten(_.map(extDirs, function (dir) {
var specDir = path.join(__dirname, "..", dir, "specs"),
Expand All @@ -33,9 +33,6 @@ require:true, __dirname:true, console:true */
}),
runSpec = require("../../../xtuple/test/lib/runner_engine").runSpec;

console.log(fs.readdirSync(path.join(__dirname, "..")));
console.log(extDirs);

_.each(specs, runSpec);

}());
Expand Down

0 comments on commit 81491b7

Please sign in to comment.