]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
CI: Disable optimizations in "minimal" build tests (#1278)
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 14 Feb 2023 21:31:11 +0000 (21:31 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Thu, 23 Feb 2023 12:34:13 +0000 (01:34 +1300)
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

index 3675aaf3766a9a44e5bd740d7097e4470f5f0598..2c76b36021f593747c4b944b77fafee759e980b8 100644 (file)
@@ -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 \