Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/crypto/libcrypto/threads openssl: More tests need -Wno...



details:   https://anonhg.NetBSD.org/src/rev/ca6037874abf
branches:  trunk
changeset: 374837:ca6037874abf
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat May 13 17:46:09 2023 +0000

description:
openssl: More tests need -Wno-missing-field-initializers.

diffstat:

 tests/crypto/libcrypto/bn/bn/Makefile   |  4 +++-
 tests/crypto/libcrypto/engine/Makefile  |  4 +++-
 tests/crypto/libcrypto/evp/Makefile     |  3 ++-
 tests/crypto/libcrypto/srp/Makefile     |  4 +++-
 tests/crypto/libcrypto/threads/Makefile |  4 +++-
 5 files changed, 14 insertions(+), 5 deletions(-)

diffs (74 lines):

diff -r 241ff72a88f3 -r ca6037874abf tests/crypto/libcrypto/bn/bn/Makefile
--- a/tests/crypto/libcrypto/bn/bn/Makefile     Sat May 13 17:20:41 2023 +0000
+++ b/tests/crypto/libcrypto/bn/bn/Makefile     Sat May 13 17:46:09 2023 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2009/02/13 20:58:14 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2023/05/13 17:46:09 riastradh Exp $
 
 HELPER_NAME=   bntest
 HELPER_DIR=    bn
 
+COPTS.bntest.c+=       -Wno-missing-field-initializers
+
 .include <bsd.init.mk>
diff -r 241ff72a88f3 -r ca6037874abf tests/crypto/libcrypto/engine/Makefile
--- a/tests/crypto/libcrypto/engine/Makefile    Sat May 13 17:20:41 2023 +0000
+++ b/tests/crypto/libcrypto/engine/Makefile    Sat May 13 17:46:09 2023 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2009/02/13 20:58:15 jmmv Exp $
+# $NetBSD: Makefile,v 1.2 2023/05/13 17:46:09 riastradh Exp $
 
 HELPER_NAME=   enginetest
 HELPER_DIR=    engine
 
+COPTS.enginetest.c+=   -Wno-missing-field-initializers
+
 .include <bsd.init.mk>
diff -r 241ff72a88f3 -r ca6037874abf tests/crypto/libcrypto/evp/Makefile
--- a/tests/crypto/libcrypto/evp/Makefile       Sat May 13 17:20:41 2023 +0000
+++ b/tests/crypto/libcrypto/evp/Makefile       Sat May 13 17:46:09 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/05/08 17:46:06 christos Exp $
+# $NetBSD: Makefile,v 1.4 2023/05/13 17:46:09 riastradh Exp $
 
 .include <bsd.own.mk>
 HELPER_NAME=   evp_test
@@ -86,6 +86,7 @@ evppkey_rsa.txt \
 evppkey_rsa_common.txt \
 evppkey_sm2.txt \
 evprand.txt
+COPTS.evp_test.c+=     -Wno-missing-field-initializers
 .endif
 
 .include <bsd.init.mk>
diff -r 241ff72a88f3 -r ca6037874abf tests/crypto/libcrypto/srp/Makefile
--- a/tests/crypto/libcrypto/srp/Makefile       Sat May 13 17:20:41 2023 +0000
+++ b/tests/crypto/libcrypto/srp/Makefile       Sat May 13 17:46:09 2023 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2011/06/09 05:25:20 spz Exp $
+# $NetBSD: Makefile,v 1.2 2023/05/13 17:46:09 riastradh Exp $
 
 HELPER_NAME=   srptest
 HELPER_DIR=    srp
 
+COPTS.srp.c+=  -Wno-missing-field-initializers
+
 .include <bsd.init.mk>
diff -r 241ff72a88f3 -r ca6037874abf tests/crypto/libcrypto/threads/Makefile
--- a/tests/crypto/libcrypto/threads/Makefile   Sat May 13 17:20:41 2023 +0000
+++ b/tests/crypto/libcrypto/threads/Makefile   Sat May 13 17:46:09 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2023/05/08 17:46:06 christos Exp $
+# $NetBSD: Makefile,v 1.7 2023/05/13 17:46:10 riastradh Exp $
 
 .include <bsd.own.mk>
 PROGDPLIBSSTATIC=yes
@@ -8,6 +8,8 @@ HELPER_DIR=     threads
 CPPFLAGS+=     -DPTHREADS
 CFLAGS+=       -pthread
 
+COPTS.threadstest.c+=  -Wno-missing-field-initializers
+
 DPADD+=                ${LIBPTHREAD} ${LIBSSL}
 LDADD+=                -lpthread -lssl
 



Home | Main Index | Thread Index | Old Index