summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-02-26 11:22:16 +0100
committerMatt Caswell <matt@openssl.org>2019-02-26 10:44:23 +0000
commita2854abe54df44d01a147ebaf8ca810361904783 (patch)
tree330154612f3a0e3f9704e447a78c559cdd2bf32a
parentf30022cd581200a4c434f0db41b596c42fafd9de (diff)
Disable 02-test_errstr.t on msys/mingw as well as MSWin32
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) (cherry picked from commit 565a19eef35926b4b9675f6cc3964fb290a5b380)
-rw-r--r--test/recipes/02-test_errstr.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/recipes/02-test_errstr.t b/test/recipes/02-test_errstr.t
index 35a802f4c8..6db47611af 100644
--- a/test/recipes/02-test_errstr.t
+++ b/test/recipes/02-test_errstr.t
@@ -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');