Blame SOURCES/0223-travis-don-t-run-slow-tests-under-ASan-UBSan.patch

ddca0b
From 2f44943836b69455792a5422673f8a69bc9705ba Mon Sep 17 00:00:00 2001
ddca0b
From: Frantisek Sumsal <fsumsal@redhat.com>
ddca0b
Date: Mon, 14 Oct 2019 17:14:35 +0200
ddca0b
Subject: [PATCH] travis: don't run slow tests under ASan/UBSan
ddca0b
ddca0b
Resolves: #1761519
ddca0b
---
ddca0b
 ci/travis-centos-rhel8.sh | 8 ++------
ddca0b
 1 file changed, 2 insertions(+), 6 deletions(-)
ddca0b
ddca0b
diff --git a/ci/travis-centos-rhel8.sh b/ci/travis-centos-rhel8.sh
ddca0b
index da131c726b..a1502e15ee 100755
ddca0b
--- a/ci/travis-centos-rhel8.sh
ddca0b
+++ b/ci/travis-centos-rhel8.sh
ddca0b
@@ -65,10 +65,6 @@ CONFIGURE_OPTS=(
ddca0b
     -Dnetworkd=false
ddca0b
     -Dtimesyncd=false
ddca0b
     -Ddefault-hierarchy=legacy
ddca0b
-    # Custom options
ddca0b
-    -Dslow-tests=true
ddca0b
-    -Dtests=unsafe
ddca0b
-    -Dinstall-tests=true
ddca0b
 )
ddca0b
 
ddca0b
 function info() {
ddca0b
@@ -104,7 +100,7 @@ for phase in "${PHASES[@]}"; do
ddca0b
         RUN)
ddca0b
             info "Run phase"
ddca0b
             # Build systemd
ddca0b
-            docker exec -it -e CFLAGS='-g -O0 -ftrapv' $CONT_NAME meson build "${CONFIGURE_OPTS[@]}"
ddca0b
+            docker exec -it -e CFLAGS='-g -O0 -ftrapv' $CONT_NAME meson build -Dtests=unsafe -Dslow-tests=true "${CONFIGURE_OPTS[@]}"
ddca0b
             $DOCKER_EXEC ninja -v -C build
ddca0b
             # Let's install the new systemd and "reboot" the container to avoid
ddca0b
             # unexpected fails due to incompatibilities with older systemd
ddca0b
@@ -117,7 +113,7 @@ for phase in "${PHASES[@]}"; do
ddca0b
                 ENV_VARS="-e CC=clang -e CXX=clang++"
ddca0b
                 MESON_ARGS="-Db_lundef=false" # See https://github.com/mesonbuild/meson/issues/764
ddca0b
             fi
ddca0b
-            docker exec $ENV_VARS -it $CONT_NAME meson build --werror -Dtests=unsafe -Db_sanitize=address,undefined $MESON_ARGS ${CONFIGURE_OPTS[@]}
ddca0b
+            docker exec $ENV_VARS -it $CONT_NAME meson build --werror -Dtests=unsafe -Db_sanitize=address,undefined $MESON_ARGS "${CONFIGURE_OPTS[@]}"
ddca0b
             docker exec -it $CONT_NAME ninja -v -C build
ddca0b
 
ddca0b
             # Never remove halt_on_error from UBSAN_OPTIONS. See https://github.com/systemd/systemd/commit/2614d83aa06592aedb.