From f5efa2f383fe89b53bd8fc27b2116e8636417ebf Mon Sep 17 00:00:00 2001 From: Adrian Negreanu Date: Mon, 9 Mar 2015 22:38:41 +0200 Subject: runtests.pl: mmn version has dash as separator Final version can be major.minor.revision-mmn Revision can either be x or x.y. --- testing/runtests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/runtests.pl b/testing/runtests.pl index 30fe969..0e1938d 100755 --- a/testing/runtests.pl +++ b/testing/runtests.pl @@ -81,7 +81,7 @@ sub compare_ok { sub chop_volatile { my $line = shift; - $line =~ s/version="\d\.\d+\.\d+(\.\d+)?"/version=""/g; # strip version + $line =~ s/version="\d\.\d+\.\d+(\.\d+)?(\-\d+)?"/version=""/g; # strip version $line =~ s/file=".*\/(.*)"/file="$1"/g; # strip location return $line; } -- cgit v0.12