Francois Gouget : testbot/PatchUtils: Add support for .com program tests in _LoadWineFiles().
Module: tools Branch: master Commit: 42543d50a3c1ba313c781e0c1959df6ae93f5c96 URL: https://source.winehq.org/git/tools.git/?a=commit;h=42543d50a3c1ba313c781e0c... Author: Francois Gouget <fgouget(a)codeweavers.com> Date: Tue Feb 2 15:17:23 2021 +0100 testbot/PatchUtils: Add support for .com program tests in _LoadWineFiles(). _LoadWineFiles() must use the correct module name so that the lookups succeed in _CreateTestInfo(). Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48090 Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- testbot/lib/WineTestBot/PatchUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testbot/lib/WineTestBot/PatchUtils.pm b/testbot/lib/WineTestBot/PatchUtils.pm index b2749c4..dda855d 100644 --- a/testbot/lib/WineTestBot/PatchUtils.pm +++ b/testbot/lib/WineTestBot/PatchUtils.pm @@ -107,7 +107,7 @@ sub _LoadWineFiles() my ($Root, $Module, $File) = ($1, $2, $3); next if ($File eq "testlist.c"); next if ($File !~ /\.(?:c|spec)$/); - $Module .= ".exe" if ($Root eq "programs"); + $Module .= ".exe" if ($Root eq "programs" and $Module !~ /\./); $_TestList->{$Module}->{$File} = 1; } }
participants (1)
-
Alexandre Julliard