Files
mongo/jstests/aggregation/testbugs.js
Mathias Stearn b4c6a9a7c2 Don't load articles.js in testbugs.js
Want to make sure all agg tests are freestanding
2012-07-06 13:48:52 -04:00

19 lines
616 B
JavaScript

// test all the bug test cases
var files = listFiles("jstests/aggregation/bugs");
files.forEach(
function(x) {
// skip files starting with _ and only test *.js files
if (/[\/\\]_/.test(x.name) || ! /\.js$/.test(x.name ) ) {
print(" >>>>>>>>>>>>>>> skipping " + x.name);
return;
}
// clean out the test documents
db.article.drop();
print(" *******************************************");
print(" Test : " + x.name + " ...");
print(" " + Date.timeFunc(function(){ load(x.name); }, 1) + "ms");
}
);