From 9154d730308f4bf7a37e4a7c513d45b845d2a2cd Mon Sep 17 00:00:00 2001 From: David Steele Date: Tue, 2 Feb 2021 17:05:55 -0500 Subject: [PATCH] Add -g accidentally removed in 4e8d469f. The tests all run fine without debug info but gdb and valgrind are a lot less useful without it. --- test/lib/pgBackRestTest/Common/JobTest.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/pgBackRestTest/Common/JobTest.pm b/test/lib/pgBackRestTest/Common/JobTest.pm index c7b6a03aa..e01006622 100644 --- a/test/lib/pgBackRestTest/Common/JobTest.pm +++ b/test/lib/pgBackRestTest/Common/JobTest.pm @@ -289,7 +289,7 @@ sub run # Generate Makefile.param my $strMakefileParam = "CFLAGS =" . - " \\\n\t-Werror -Wfatal-errors" . + " \\\n\t-Werror -Wfatal-errors -g" . ($self->{bProfile} ? " \\\n\t-pg" : '') . (vmArchBits($self->{oTest}->{&TEST_VM}) == 32 ? " \\\n\t-D_FILE_OFFSET_BITS=64" : '') . ($self->{bDebug} ? '' : " \\\n\t-DNDEBUG") .