From: Mike Taylor Date: Wed, 25 Oct 2006 09:54:16 +0000 (+0000) Subject: Allow "test" parameter to specify top-level test. X-Git-Tag: CPAN-v1.02~931 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=9168942b9f7121c9dcff69a92677d39851d4f109;p=irspy-moved-to-github.git Allow "test" parameter to specify top-level test. --- diff --git a/web/htdocs/details/check.mc b/web/htdocs/details/check.mc index ca699fc..87775a3 100644 --- a/web/htdocs/details/check.mc +++ b/web/htdocs/details/check.mc @@ -1,6 +1,7 @@ -%# $Id: check.mc,v 1.9 2006-10-17 16:24:01 mike Exp $ +%# $Id: check.mc,v 1.10 2006-10-25 09:54:16 mike Exp $ <%args> @id +$test => "Quick" <%perl> my $allTargets = (@id == 1 && $id[0] eq ""); @@ -19,7 +20,7 @@ my $spy = new ZOOM::IRSpy::Web("localhost:3313/IR-Explain---1", $spy->log_init_level("irspy,irspy_test"); $spy->targets(@id) if !$allTargets; $spy->initialise(); -my $res = $spy->check("Quick"); +my $res = $spy->check($test); print "

\n"; if ($res == 0) { print "All tests were run\n";