PrivateBin/test/run_tests_rhino.js

12 lines
229 B
JavaScript
Raw Normal View History

2010-05-26 18:34:42 -04:00
if (arguments === undefined || load === undefined) {
throw "This script must be run from Rhino.";
}
for (var i=0; i<arguments.length; i++) {
var file = arguments[i];
if (!file.match(/^-/)) load(file);
}
sjcl.test.run();