>From 6e308e4b22187eb92a5e01ff156859b88a746eb6 Mon Sep 17 00:00:00 2001 From: Frank Dittrich Date: Thu, 21 Jun 2012 23:45:36 +0200 Subject: [PATCH] relbench: make sure jumbo 5 dynamic format names are recognized ignore trailing spaces in format names condense format name (replace multiple spaces with one) replace '[' or ']' in format names with '(' or ')' This results in 36 dynamic formats from 1.7.9-jumbo-5 which were not recognized as the same formats as in current git to be recognized as the same, without affecting any non-dynamic formats --- run/relbench | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/run/relbench b/run/relbench index 022d54c..cb98cab 100755 --- a/run/relbench +++ b/run/relbench @@ -57,7 +57,12 @@ sub parse return; } } else { - ($name) = /^Benchmarking: (.+) \[.*\].* DONE$/; + ($name) = /^Benchmarking: (.*[^ ]) +\[.*\].* DONE$/; + if (defined($name)) { + $name =~ s/\s+/ /g; + $name =~ s/\[/(/; + $name =~ s/\]/)/; + } $ok = defined($name); } print STDERR "Could not parse: $_\n" if (!$ok); -- 1.7.7.6