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~1132 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=5cf4c80fb7c814dacb84c086fb9cdb740597c215;p=irspy-moved-to-github.git 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"; +} +