diff -r 0006ed4e0b6d -r abbcac685ab1 common/tools/ats/update_brag_status.pl --- a/common/tools/ats/update_brag_status.pl Fri Jun 25 14:54:42 2010 +0100 +++ b/common/tools/ats/update_brag_status.pl Tue Jun 29 14:43:07 2010 +0100 @@ -41,6 +41,7 @@ my $n; my $m; my @lines; +my $man_detailshref; sub usage($); sub help(); @@ -143,6 +144,11 @@ if (defined($ats4_report)) { $detailshref = $ats4_report }; $detailshref =~ s/\\/\//g; # Replace \ with / $detailshref =~ s/($temp_path)/../; +if (defined($test_report)) { + $man_detailshref = $test_report; + $man_detailshref =~ s/\\/\//g; # Replace \ with / + $man_detailshref =~ s/($temp_path)/../; +} if (defined($test_report)) { # Get manual Smoketest results. print "Parsing " . $test_report . "... "; @@ -205,7 +211,7 @@ splice @lines, $n, 0, ""; $n++; splice @lines, $n, 0, "<\/step>"; $n++; if (defined($test_report)) { - splice @lines, $n, 0, ""; $n++; + splice @lines, $n, 0, ""; $n++; splice @lines, $n, 0, ""; $n++; splice @lines, $n, 0, ""; $n++; splice @lines, $n, 0, ""; $n++; @@ -235,7 +241,7 @@ print FILE "\n"; print FILE "<\/step>\n"; if (defined($test_report)) { - print FILE "\n"; + print FILE "\n"; print FILE "\n"; print FILE "\n"; print FILE "\n";