-%# $Id: check.mc,v 1.6 2006-09-26 10:16:15 mike Exp $
+%# $Id: check.mc,v 1.10 2006-10-25 09:54:16 mike Exp $
<%args>
@id
+$test => "Quick"
</%args>
<%perl>
my $allTargets = (@id == 1 && $id[0] eq "");
my $spy = new ZOOM::IRSpy::Web("localhost:3313/IR-Explain---1",
admin => "fruitbat");
+$spy->log_init_level("irspy,irspy_test");
$spy->targets(@id) if !$allTargets;
$spy->initialise();
-my $res = $spy->check();
+my $res = $spy->check($test);
print "<p>\n";
if ($res == 0) {
print "<b>All tests were run</b>\n";
} else {
- print "<b>Some tests were skipped</b>\n";
+ print "<b>$res tests were skipped</b>\n";
}
print "</p>\n";
</%perl>