privatebin/test/run_tests_rhino.js

12 lines
229 B
JavaScript
Raw Normal View History

2010-05-26 22:34:42 +00: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();