diff options
author | Richard Levitte <levitte@openssl.org> | 2018-03-19 18:54:27 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-03-19 18:54:27 +0100 |
commit | 3830c1943b6b7411134a28c5801e57d1b5b2dca2 (patch) | |
tree | a988f191c683cbcc5330333c3accf85e4c4548b4 /test | |
parent | 7d7f6834e542e53f604b46a72d57fad773d4b2bc (diff) |
Don't generate buildtest_*err.c
The error string header files aren't supposed to be included directly,
so there's no point testing that they can.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5678)
Diffstat (limited to 'test')
-rw-r--r-- | test/build.info | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/build.info b/test/build.info index 085f0faa10..2a7ea745f3 100644 --- a/test/build.info +++ b/test/build.info @@ -528,6 +528,7 @@ ENDIF my @nogo_headers = ( "asn1_mac.h", "__decc_include_prologue.h", "__decc_include_epilogue.h" ); + my @nogo_headers_re = ( qr/.*err\.h/ ); my @headerfiles = glob catfile($sourcedir, updir(), "include", "openssl", "*.h"); @@ -535,6 +536,7 @@ ENDIF my $name = basename($headerfile, ".h"); next if $disabled{$name}; next if grep { $_ eq lc("$name.h") } @nogo_headers; + next if grep { lc("$name.h") =~ m/$_/i } @nogo_headers_re; $OUT .= <<"_____"; PROGRAMS_NO_INST=buildtest_$name |