Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 15 lines (13 sloc) 0.342 kb
766876b @wickedchicken Add basic test framework
wickedchicken authored
1 #!/usr/bin/env node
2 try {
3 var reporter = require('nodeunit').reporters.default;
4 }
5 catch(e) {
6 console.log("Cannot find nodeunit module.");
7 console.log("Make sure to run 'npm install nodeunit'");
8 process.exit();
9 }
10
11 process.chdir(__dirname);
304c40f @danielbeardsley Make failing tests exit with non-zero status
danielbeardsley authored
12 reporter.run(['test/'], null, function(failure) {
13 process.exit(failure ? 1 : 0)
14 });
Something went wrong with that request. Please try again.