Update of /cvsroot/compbench/CompBenchmarks++
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv19487
Modified Files:
compbenchmarks-config
Log Message:
Fix. \n is appended after each result record, when needed (parser exepects \n).
Index: compbenchmarks-config
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/compbenchmarks-config,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** compbenchmarks-config 4 Oct 2006 16:41:04 -0000 1.23
--- compbenchmarks-config 10 Oct 2006 17:30:43 -0000 1.24
***************
*** 900,903 ****
--- 900,906 ----
open(FD, ">>$F"); # file must exists for archiving
if (($r ne '') && (($r =~ /^\d*$/) || ($r =~ /^\d*\.\d*$/)) && ($r>0)) {
+ if (!($r =~ /\n$/)) {
+ $r.="\n";
+ }
print FD "result::benchmark=$r_b\nresult::compiler=$r_c\nresult::options=$r_o\nresult::value=$r\n";
}
|