Skip to content

Commit 510b0ce

Browse files
committed
removing buster tests from mocha test runner
1 parent bc4b55a commit 510b0ce

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

Jakefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ namespace('test', function() {
3535
jake.exec(command, complete, print_opts);
3636
});
3737

38+
// You likely need to install buster globally for this to work, because buster
39+
// doesn't work with relative paths.
3840
desc('Run sample Buster.js test');
3941
task('buster', {async: true}, function() {
4042
var command = BUSTER;

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ test: cover check-coverage
1919
test-cov: cover check-coverage
2020
open coverage/lcov-report/index.html
2121

22+
# You likely need to install buster globally for this to work, because buster
23+
# doesn't work with relative paths.
2224
test-buster:
2325
$(BUSTER)
2426

test/run.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ if (argv.help || types_to_use.length === 0) {
3838
}
3939

4040
var is_valid_file = function (file) {
41+
if (file.match(/buster/)) {
42+
return false;
43+
}
44+
4145
for (var i = 0; i < types_to_use.length; i++) {
4246
var test_type = types_to_use[i];
4347
var ext = test_type + ".js";

0 commit comments

Comments
 (0)