New: this is the old index.html from before the framework.
authorMike Taylor <mike@indexdata.com>
Thu, 14 Sep 2006 15:15:45 +0000 (15:15 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 14 Sep 2006 15:15:45 +0000 (15:15 +0000)
web/htdocs/run.html [new file with mode: 0644]

diff --git a/web/htdocs/run.html b/web/htdocs/run.html
new file mode 100644 (file)
index 0000000..0f66ee7
--- /dev/null
@@ -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);
+</%perl>
+IRSpy version <% $ZOOM::IRSpy::VERSION %><br/>
+<%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";
+}
+</%perl>