summaryrefslogtreecommitdiff
path: root/regress/sbin/iked
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2022-02-23 22:50:33 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2022-02-23 22:50:33 +0000
commitecd83f1783128b6e0b7b65241f747f373959e7f6 (patch)
tree41eb9b194a66efc436b8bbde6eeae0a9b4b0ff45 /regress/sbin/iked
parenta21afce94a0c40fbacc7f4a30762ec4cd0ff6d2b (diff)
Prints in iked fuzzer fill 77% of full regress output. Nobody wants
to see 23.2 MB text output unless when debugging a failure. And then a logfile is better than stderr. OK claudio@
Diffstat (limited to 'regress/sbin/iked')
-rw-r--r--regress/sbin/iked/parser/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/regress/sbin/iked/parser/Makefile b/regress/sbin/iked/parser/Makefile
index 3424c7b77f6..566cd71f22c 100644
--- a/regress/sbin/iked/parser/Makefile
+++ b/regress/sbin/iked/parser/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2017/05/30 15:36:13 bluhm Exp $
+# $OpenBSD: Makefile,v 1.3 2022/02/23 22:50:32 bluhm Exp $
WARNINGS=Yes
@@ -6,13 +6,16 @@ PROG= test_parser
SRCS= tests.c common.c test_parser_fuzz.c
IKEOBJS= ikev2_pld.o imsg_util.o log.o util.o \
ikev2_map.o eap_map.o
-CLEANFILES= ${IKEOBJS}
+CLEANFILES= ${IKEOBJS} ${PROG}.log
LDADD+= -lutil -lcrypto ${IKEOBJS}
DPADD+= ${LIBUTIL} ${LIBCRYPTO}
CFLAGS+= -I${.CURDIR}/../../../../sbin/iked
CFLAGS+= -Wno-missing-field-initializers
+run-regress-${PROG}: ${PROG}
+ ./${PROG} >${PROG}.log 2>&1
+
test_parser: ${IKEOBJS}
${IKEOBJS}: