From 77224451cc3b7460b43a8b32b56f4e0324bf6476 Mon Sep 17 00:00:00 2001 From: Philip Meulengracht Date: Fri, 29 Jul 2022 12:31:15 +0200 Subject: [PATCH] tests: update regex for windows --- tests/run-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run-tests.sh b/tests/run-tests.sh index 55b673a..ab05f9c 100755 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -3,11 +3,11 @@ # get all test programs that start with gclient in # the tests subfolder, they each end with a number, so # make sure they are sorted -TESTS=$(find tests -name "*gclient*" -type f | sort -V) +TESTS=$(find tests -regextype posix-extended -regex '.*/(gclient.*?exe|gclient[^.]*)' | sort -V) # get all server programs so we can test both single-threaded # and multi-threaded versions. -SERVERS=$(find tests -name "gserver*" -type f) +SERVERS=$(find tests -regextype posix-extended -regex '.*/(gserver.*?exe|gserver[^.]*)') # iterate servers, and then for each server we want to start # each test program