mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Don't test the collected system errors when configured to not have them
Config options 'no-err' and 'no-autoerrinit' Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/7711)
This commit is contained in:
parent
5a4481f0e0
commit
f1d49ed947
@ -31,6 +31,9 @@ setup('test_errstr');
|
||||
plan skip_all => 'This is unsupported for cross compiled configurations'
|
||||
if config('CROSS_COMPILE');
|
||||
|
||||
plan skip_all => 'OpenSSL is configured "no-autoerrinit" or "no-err"'
|
||||
if disabled('autoerrinit') || disabled('err');
|
||||
|
||||
# These are POSIX error names, which Errno implements as functions
|
||||
# (this is documented)
|
||||
my @posix_errors = @{$Errno::EXPORT_TAGS{POSIX}};
|
||||
|
Loading…
Reference in New Issue
Block a user