X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=web%2Fhtdocs%2Frun.html;fp=web%2Fhtdocs%2Frun.html;h=0f66ee7badb06b78008eef51d33d9203e93c4505;hb=5cf4c80fb7c814dacb84c086fb9cdb740597c215;hp=0000000000000000000000000000000000000000;hpb=43050efc5fa7b5d34088f03fad3439c3a3517570;p=irspy-moved-to-github.git diff --git a/web/htdocs/run.html b/web/htdocs/run.html new file mode 100644 index 0000000..0f66ee7 --- /dev/null +++ b/web/htdocs/run.html @@ -0,0 +1,21 @@ +%# $Id: run.html,v 1.1 2006-09-14 15:15:45 mike Exp $ +<%perl> +use lib "/usr/local/src/cvs/irspy/lib"; +use ZOOM::IRSpy; +my $dbname = "localhost:1313/IR-Explain---1"; +my @targets = qw(bagel.indexdata.dk/gils + z3950.loc.gov:7090/Voyager); + +IRSpy version <% $ZOOM::IRSpy::VERSION %>
+<%perl> +my $targetList = join(" ", @targets); +my $spy = new ZOOM::IRSpy($dbname); +$spy->targets($targetList); +$spy->initialise(); +my $res = $spy->check(); +if ($res == 0) { + print "All tests were run\n"; +} else { + print "Some tests were skipped\n"; +} +