Commit 0e2e5653 by Andrew Nesbitt

Merge pull request #493 from am11/master

Build: Verbose stats
parents af1721f6 0a91a3ac
......@@ -44,12 +44,12 @@ if (!force && !process.env.SKIP_NODE_SASS_TESTS) {
timeout: 999999
});
mocha.addFile(path.resolve(__dirname, 'test', 'test.js'));
mocha.addFile(path.resolve(__dirname, 'test', 'api.js'));
mocha.run(function () {
// at least 90% of tests should pass
if ((total - failures) * 100 / total < 90) {
console.log('Problem with the binary; manual build incoming');
console.log('Problem with the binary: ' + failures + ' of ' + total + ' tests are failing.\nManual build incoming');
console.log('Please consider contributing the release binary to https://github.com/sass/node-sass-binaries for npm distribution.');
build();
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment