Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
debug symbols in regress tests
To:
tech@openbsd.org
Date:
Mon, 4 Nov 2024 11:32:47 +0100

Download raw body.

Thread
When a regress test fails or crashes, it's useful to have debugging
symbols available and it is a bit annoying to have to recompile. Is
there a reason not to have them available by default - other than maybe
disk space in obj/ on the machines that run full regress?

Index: bsd.regress.mk
===================================================================
RCS file: /cvs/src/share/mk/bsd.regress.mk,v
diff -u -p -r1.27 bsd.regress.mk
--- bsd.regress.mk	24 Sep 2023 08:28:20 -0000	1.27
+++ bsd.regress.mk	4 Nov 2024 10:24:00 -0000
@@ -3,6 +3,7 @@
 
 # No man pages for regression tests.
 NOMAN=
+CFLAGS+= -g
 
 # No installation.
 install: