Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Build: Verbose stats #493

Merged
merged 2 commits into from
Oct 29, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down