From: Darren Tucker Date: Sat, 20 Feb 2021 02:34:02 +0000 (+1100) Subject: Disable rlimit sandbox, doesn't work with valgrind X-Git-Tag: V_8_5_P1~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5fcb0514949d61aadaf4a89cf16eb78fb47491ec;p=thirdparty%2Fopenssh-portable.git Disable rlimit sandbox, doesn't work with valgrind Only run regress tests, runing unit tests as well makes it run longer than allowed y github. --- diff --git a/.github/configs b/.github/configs index f5b6efe92..280775e1f 100755 --- a/.github/configs +++ b/.github/configs @@ -56,7 +56,13 @@ case "$config" in TEST_TARGET=t-exec ;; valgrind) - TEST_TARGET="tests USE_VALGRIND=1" + # rlimit sandbox and FORTIFY_SOURCE confuse Valgrind. + CONFIGFLAGS="--without-sandbox --without-hardening" + CONFIGFLAGS="$CONFIGFLAGS --with-cppflags=-D_FORTIFY_SOURCE=0" + # Valgrind slows things down enough that the agent timeout test + # won't reliably pass, and the unit tests run longer than allowed + # by github. + TEST_TARGET="t-exec USE_VALGRIND=1 SKIP_LTESTS=agent-timeout" ;; *) echo "Unknown configuration $config"