projects
/
irspy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow "test" parameter to specify top-level test.
[irspy-moved-to-github.git]
/
web
/
htdocs
/
details
/
check.mc
diff --git
a/web/htdocs/details/check.mc
b/web/htdocs/details/check.mc
index
5757215
..
87775a3
100644
(file)
--- a/
web/htdocs/details/check.mc
+++ b/
web/htdocs/details/check.mc
@@
-1,6
+1,7
@@
-%# $Id: check.mc,v 1.8 2006-10-11 16:42:50 mike Exp $
+%# $Id: check.mc,v 1.10 2006-10-25 09:54:16 mike Exp $
<%args>
@id
<%args>
@id
+$test => "Quick"
</%args>
<%perl>
my $allTargets = (@id == 1 && $id[0] eq "");
</%args>
<%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();
$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";
print "<p>\n";
if ($res == 0) {
print "<b>All tests were run</b>\n";