Skip to content

Commit

Permalink
runtests.pl: mmn version has dash as separator
Browse files Browse the repository at this point in the history
Final version can be major.minor.revision-mmn
Revision can either be x or x.y.
  • Loading branch information
groleo committed Mar 10, 2015
1 parent eac0fd6 commit f5efa2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/runtests.pl
Expand Up @@ -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;
}
Expand Down

0 comments on commit f5efa2f

Please sign in to comment.