]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: also set -Dfuzz-tests=true if -Dslow-tests=true 17599/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 13 Nov 2020 06:27:51 +0000 (15:27 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 13 Nov 2020 09:15:41 +0000 (18:15 +0900)
.github/workflows/ubuntu-build-check.sh
semaphoreci/semaphore-runner.sh
travis-ci/managers/debian.sh
travis-ci/managers/fedora.sh

index 0892e08dd1654b4788318303237fce5aca3112bf..d4f1106538125ae431c6ef801db32b8874614aa8 100755 (executable)
@@ -103,7 +103,7 @@ for args in "${ARGS[@]}"; do
     SECONDS=0
 
     info "Checking build with $args"
-    if ! AR="$AR" CC="$CC" CXX="$CXX" CFLAGS="-Werror" CXXFLAGS="-Werror" meson -Dtests=unsafe -Dslow-tests=true --werror $args build; then
+    if ! AR="$AR" CC="$CC" CXX="$CXX" CFLAGS="-Werror" CXXFLAGS="-Werror" meson -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true --werror $args build; then
         fatal "meson failed with $args"
     fi
 
index 715a5aafb1514e089672a187595c999bfb1674c8..8b18f799c9b015e4487058dcf9a5823dc2c63e00 100755 (executable)
@@ -86,7 +86,7 @@ EOF
             # disable autopkgtests which are not for upstream
             sed -i '/# NOUPSTREAM/ q' debian/tests/control
             # enable more unit tests
-            sed -i '/^CONFFLAGS =/ s/=/= --werror -Dtests=unsafe -Dsplit-usr=true -Dslow-tests=true -Dman=true /' debian/rules
+            sed -i '/^CONFFLAGS =/ s/=/= --werror -Dtests=unsafe -Dsplit-usr=true -Dslow-tests=true -Dfuzz-tests=true -Dman=true /' debian/rules
             # no orig tarball
             echo '1.0' > debian/source/format
 
index ab8a5b5fb8a0879553afc4f31532fe10e96927c7..558a55a0a1439bfbf58ec92011dc305450688015 100755 (executable)
@@ -61,7 +61,7 @@ for phase in "${PHASES[@]}"; do
                 ENV_VARS="-e CC=clang -e CXX=clang++"
                 MESON_ARGS="--optimization=1"
             fi
-            docker exec $ENV_VARS -it $CONT_NAME meson --werror -Dtests=unsafe -Dslow-tests=true -Dsplit-usr=true -Dman=true $MESON_ARGS build
+            docker exec $ENV_VARS -it $CONT_NAME meson --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true -Dsplit-usr=true -Dman=true $MESON_ARGS build
             $DOCKER_EXEC ninja -v -C build
             docker exec -e "TRAVIS=$TRAVIS" -it $CONT_NAME ninja -C build test
             ;;
index 3a917564ed103b07432aad533f584caca40c8d5c..463696a32e8c219bb02f764b66d7fceee4a92ecd 100755 (executable)
@@ -83,12 +83,12 @@ for phase in "${PHASES[@]}"; do
         RUN)
             info "Run phase"
             # Build systemd
-            $DOCKER_EXEC meson --werror -Dtests=unsafe -Dslow-tests=true build
+            $DOCKER_EXEC meson --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true build
             $DOCKER_EXEC ninja -v -C build
             $DOCKER_EXEC ninja -C build test
             ;;
         RUN_CLANG)
-            docker exec -e CC=clang -e CXX=clang++ -it $CONT_NAME meson --werror -Dtests=unsafe -Dslow-tests=true -Dman=true build
+            docker exec -e CC=clang -e CXX=clang++ -it $CONT_NAME meson --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true -Dman=true build
             $DOCKER_EXEC ninja -v -C build
             $DOCKER_EXEC ninja -C build test
             ;;