Skip to content

Commit

Permalink
Adding --once argument to test-packages command
Browse files Browse the repository at this point in the history
So that meteor fails if there is an error and not waits for file change: meteor/meteor#1189 (comment)
  • Loading branch information
mitar authored and Marco de Jongh committed Aug 26, 2014
1 parent 1535500 commit 27ae1b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start_test.js
Expand Up @@ -2,7 +2,7 @@
var spawn = require('child_process').spawn;

var packageDir = process.env.PACKAGE_DIR || './';
var meteor = spawn('mrt', ['test-packages', '--driver-package', 'test-in-console', '-p', 10015, './'], {cwd: packageDir});
var meteor = spawn('mrt', ['test-packages', '--once', '--driver-package', 'test-in-console', '-p', 10015, './'], {cwd: packageDir});
meteor.stdout.pipe(process.stdout);
meteor.stderr.pipe(process.stderr);

Expand All @@ -25,4 +25,4 @@ function runTestSuite() {
meteor.kill('SIGQUIT');
process.exit(code);
});
}
}

0 comments on commit 27ae1b6

Please sign in to comment.