From 3b98187a8c31eba7b4168be8bdeb9c7089f5da00 Mon Sep 17 00:00:00 2001 From: Alex Rousskov Date: Tue, 14 Feb 2023 21:31:11 +0000 Subject: [PATCH] CI: Disable optimizations in "minimal" build tests (#1278) Our "minimal" layer tests had to stop disabling optimizations in 2019 commit 4f3c41b due to problems specific to GCC v9 (v9.1 or earlier). GCC v9.4 (and later) appear to work OK (at least on Ubuntu 22.04), so let's try to resume testing --disable-optimizations ./configure option. --- test-suite/buildtests/layer-01-minimal.opts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test-suite/buildtests/layer-01-minimal.opts b/test-suite/buildtests/layer-01-minimal.opts index 3675aaf376..2c76b36021 100644 --- a/test-suite/buildtests/layer-01-minimal.opts +++ b/test-suite/buildtests/layer-01-minimal.opts @@ -30,9 +30,6 @@ MAKETEST="distcheck" # --without-filedescriptors \ # --without-build-environment \ # -# GCC-9 cannot (yet) test this due to segmentation faults in std::string template optimizations (via cppunit) -# --disable-optimizations \ -# # NP: DISTCHECK_CONFIGURE_FLAGS is a magic automake macro for the # distcheck target recursive tests beteen scripted runs. # we use it to perform the same duty between our nested scripts. @@ -95,6 +92,7 @@ DISTCHECK_CONFIGURE_FLAGS=" \ --disable-zph-qos \ --disable-auto-locale \ --disable-translation \ + --disable-optimizations \ \ --without-pthreads \ --without-aio \ -- 2.47.2