Permalink
Browse files

runtests.pl: mmn version has dash as separator

Final version can be major.minor.revision-mmn
Revision can either be x or x.y.
  • Loading branch information...
groleo committed Mar 9, 2015
1 parent eac0fd6 commit f5efa2f383fe89b53bd8fc27b2116e8636417ebf
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;
}

0 comments on commit f5efa2f

Please sign in to comment.