Use new API for targets().
[irspy-moved-to-github.git] / web / htdocs / details / all.mc
1 %# $Id: all.mc,v 1.4 2006-09-22 15:39:14 mike Exp $
2 <%perl>
3 print "IRSpy version $ZOOM::IRSpy::VERSION<br/>\n";
4 my $spy = new ZOOM::IRSpy("localhost:3313/IR-Explain---1");
5 if (1) {
6     # Testing all targets would take much too long for testing
7     $spy->targets(qw(bagel.indexdata.dk/gils z3950.loc.gov:7090/Voyager));
8 }
9 $spy->initialise();
10 my $res = $spy->check();
11 if ($res == 0) {
12     print "All tests were run\n";
13 } else {
14     print "Some tests were skipped\n";
15 }
16 </%perl>