Module: tools Branch: master Commit: 27324e831f00189649fa55df4ba8c157c7830c0b URL: https://source.winehq.org/git/tools.git/?a=commit;h=27324e831f00189649fa55df...
Author: Francois Gouget fgouget@codeweavers.com Date: Tue Apr 13 12:22:27 2021 +0200
winetest/build-index: Streamline the build check.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
winetest/build-index | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/winetest/build-index b/winetest/build-index index 01533c4..f8a0a88 100755 --- a/winetest/build-index +++ b/winetest/build-index @@ -211,10 +211,12 @@ my @too_old; opendir(DIR, "data") or die "could not open the 'data' directory: $!"; foreach my $build (readdir(DIR)) { - next if ($build =~ /^(..?|index.html|errors.html|tests)$/); if ($build !~ /^[0-9a-f]{40}$/) { - error("'data/$build' is not a valid build directory\n"); + if ($build !~ /^(..?|errors.html|index.html|tests)$/) + { + error("'data/$build' is not a valid build directory\n"); + } next; } next unless -f "data/$build/index.html";