From 5cf4c80fb7c814dacb84c086fb9cdb740597c215 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 14 Sep 2006 15:15:45 +0000 Subject: [PATCH] New: this is the old index.html from before the framework. --- web/htdocs/run.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 web/htdocs/run.html 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"; +} + -- 1.7.10.4