paste.chapril.org-privatebin/test/run_tests_rhino.js

12 lines
229 B
JavaScript
Raw Normal View History

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