Don't run the symbol presence test on windows
authorMatt Caswell <matt@openssl.org>
Tue, 23 Nov 2021 15:22:27 +0000 (15:22 +0000)
committerTomas Mraz <tomas@openssl.org>
Mon, 6 Dec 2021 15:45:25 +0000 (16:45 +0100)
Fixes #17109

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17119)

test/recipes/01-test_symbol_presence.t

index 5be59bb7e16c37a7eb5b4380c26519bdf16c8a87..efe0760c25227e2e8c1180e4d1d5d62c0b3cc674 100644 (file)
@@ -23,7 +23,8 @@ use platform;
 plan skip_all => "Test is disabled on NonStop" if config('target') =~ m|^nonstop|;
 # MacOS arranges symbol names differently
 plan skip_all => "Test is disabled on MacOS" if config('target') =~ m|^darwin|;
-plan skip_all => "Test is disabled on MinGW" if config('target') =~ m|^mingw|;
+plan skip_all => "This is unsupported on MSYS, MinGW or MSWin32"
+    if $^O eq 'msys' or $^O eq 'MSWin32' or config('target') =~ m|^mingw|;
 plan skip_all => "Only useful when building shared libraries"
     if disabled("shared");