WineHQ: make testing winetest easier
Ferenc Wagner
wferi at afavant.elte.hu
Mon Apr 19 11:17:15 CDT 2004
ChangeLog: Use regexp matching instead of exact equality
when checking the build tags.
Feri.
Index: builds.txt
===================================================================
RCS file: /home/wine/tools/winetest/builds.txt,v
retrieving revision 1.1
diff -u -r1.1 builds.txt
--- builds.txt 19 Feb 2004 22:00:34 -0000 1.1
+++ builds.txt 19 Apr 2004 16:15:28 -0000
@@ -1 +1 @@
-# List of acceptable build tags.
+# List of Perl regexps matching acceptable build tags.
Index: dissect
===================================================================
RCS file: /home/wine/tools/winetest/dissect,v
retrieving revision 1.5
diff -u -r1.5 dissect
--- dissect 24 Mar 2004 16:03:41 -0000 1.5
+++ dissect 19 Apr 2004 16:15:28 -0000
@@ -73,7 +73,7 @@
while (<BUILDS>) {
next if /^#/;
chomp;
- last if $_ eq $testbuild;
+ last if $testbuild =~ $_;
}
close BUILDS;
defined $_ or mydie "$1 not in $builds\n";
More information about the wine-patches
mailing list