]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Disable 02-test_errstr.t on msys/mingw as well as MSWin32
authorRichard Levitte <levitte@openssl.org>
Tue, 26 Feb 2019 10:22:16 +0000 (11:22 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 26 Feb 2019 10:38:51 +0000 (10:38 +0000)
There is too high a risk that perl and OpenSSL are linked with
different C RTLs, and thereby get different messages for even the most
mundane error numbers.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8343)

test/recipes/02-test_errstr.t

index a9e8ed46c223d066b7ebf7158f400e2c24c24d2f..3498b819bf5a5cca52a980cdd3380e290798d2e3 100644 (file)
@@ -31,6 +31,12 @@ setup('test_errstr');
 plan skip_all => 'This is unsupported for cross compiled configurations'
     if config('CROSS_COMPILE');
 
+# The same can be said when compiling OpenSSL with mingw configuration
+# on Windows when built with msys perl.  Similar problems are also observed
+# in MSVC builds, depending on the perl implementation used.
+plan skip_all => 'This is unsupported on MSYS/MinGW or MSWin32'
+    if $^O eq 'msys' or $^O eq 'MSWin32';
+
 plan skip_all => 'OpenSSL is configured "no-autoerrinit" or "no-err"'
     if disabled('autoerrinit') || disabled('err');