From 84f5691e654a5d413073605352d31a8f28c077c1 Mon Sep 17 00:00:00 2001 From: tb Date: Thu, 2 Mar 2023 20:22:46 +0000 Subject: [PATCH] Simplify evp test Makefile. Make evptest silent by default: these pages of hexdumps are useless noise. Add a verbose target for debugging. --- regress/lib/libcrypto/evp/Makefile | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/regress/lib/libcrypto/evp/Makefile b/regress/lib/libcrypto/evp/Makefile index 956ae8a5e65..3b6f466bb71 100644 --- a/regress/lib/libcrypto/evp/Makefile +++ b/regress/lib/libcrypto/evp/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2022/11/10 16:38:57 jsing Exp $ +# $OpenBSD: Makefile,v 1.10 2023/03/02 20:22:46 tb Exp $ PROGS= evptest evp_test evp_ecx_test evp_pkey_check evp_pkey_cleanup LDADD= -lcrypto @@ -8,27 +8,14 @@ CFLAGS+= -DLIBRESSL_INTERNAL -DLIBRESSL_CRYPTO_INTERNAL -Werror CFLAGS+= -I${.CURDIR}/../../../../lib/libcrypto/curve25519 CFLAGS+= -I${.CURDIR}/../../../../lib/libcrypto/evp -REGRESS_TARGETS+= regress-evptest -REGRESS_TARGETS+= regress-evp_test -REGRESS_TARGETS+= regress-evp_ecx_test -REGRESS_TARGETS+= regress-evp_pkey_check -REGRESS_TARGETS+= regress-evp_pkey_cleanup - LDADD_evp_ecx_test = ${CRYPTO_INT} -regress-evptest: evptest +run-regress-evptest: evptest ./evptest ${.CURDIR}/evptests.txt -regress-evp_test: evp_test - ./evp_test - -regress-evp_ecx_test: evp_ecx_test - ./evp_ecx_test - -regress-evp_pkey_check: evp_pkey_check - ./evp_pkey_check +run-regress-evptest-verbose: + ./evptest -v ${.CURDIR}/evptests.txt -regress-evp_pkey_cleanup: evp_pkey_cleanup - ./evp_pkey_cleanup +.PHONY: run-regress-evptest-verbose .include -- 2.20.1