PrivateBin/test/run_tests_rhino.js
2010-05-26 15:34:42 -07:00

12 lines
229 B
JavaScript

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();