From: František Dvořák Date: Sun, 11 Mar 2012 18:38:33 +0000 (+0100) Subject: Unused functions. X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=7c008f06c32e24417e15a926fd1cc5a5a1a7f888;p=meta-dashboard.git Unused functions. --- diff --git a/dashboard.pl b/dashboard.pl index d92bc50..4ea2d87 100755 --- a/dashboard.pl +++ b/dashboard.pl @@ -6,51 +6,6 @@ my ($list, @list, %list, $item, @item, %item, $result, %platforms, %components, my (%list_perf); -sub table2($$$) { - my ($perf, $list, $components) = @_; - my ($item, $class, %list, $result); - - %list = %$list; - print qq( - - -); - foreach my $p (sort keys %platforms) { - print " \n"; - } - print " \n"; - foreach my $c (sort keys %{$components}) { - print " \n \n"; - foreach my $p (sort keys %platforms) { - $item=$list{$c}{$p}; - if (defined $item) { - if ($perf) { - $class = 'cert'; - $result = $item->{result2}; - #$result =~ s/ //g; - } else { - $result = $item->{result}; - if ($item->{result} eq '0') { $class='OK'; } - else { $class='FAIL'; } - } - print " \n"; - } else { - print " \n" - } - } - print " \n"; - } - print "
$p
$c$item->{date}
{dir}/\">$result
\n"; -} - - -sub table($) { - my ($list) = @_; - - table2(0, $list, \%components); -} - - $list=`ls -1 | egrep '^(gridsite|lb|px|canl)'`; @list=split /\n/, $list;