diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 12091e3d5d..653cebede4 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -121,6 +121,10 @@

Make Valgrind return an error even when a non-fatal issue is detected. Update some minor issues discovered in the tests as a result.

+ +

Add -ftree-coalesce-vars option to unit test compilation.

+
+

Clear test directory between test runs.

diff --git a/test/lib/pgBackRestTest/Common/JobTest.pm b/test/lib/pgBackRestTest/Common/JobTest.pm index 302bcd8c84..80e897fdb2 100644 --- a/test/lib/pgBackRestTest/Common/JobTest.pm +++ b/test/lib/pgBackRestTest/Common/JobTest.pm @@ -400,6 +400,7 @@ sub run "\n" . "test.o: test.c\n" . "\t\$(CC) \$(CFLAGS) \$(TESTFLAGS) -O0" . + ($self->{oTest}->{&TEST_VM} ne VM_U12 ? ' -ftree-coalesce-vars' : '') . (vmCoverageC($self->{oTest}->{&TEST_VM}) && $self->{bCoverageUnit} ? ' -fprofile-arcs -ftest-coverage' : '') . " -c test.c\n" .