From: Mike Taylor Date: Thu, 14 Sep 2006 15:15:45 +0000 (+0000) Subject: New: this is the old index.html from before the framework. X-Git-Tag: CPAN-v1.02~54^2~1077 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=a03bfaee0b1aba8657bff062f45f4dc82e312bff;ds=sidebyside New: this is the old index.html from before the framework. --- 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"; +} +