mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-28 00:04:30 +02:00
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.
This commit is contained in:
parent
bb0b9bf453
commit
5fcb051494
8
.github/configs
vendored
8
.github/configs
vendored
@ -56,7 +56,13 @@ case "$config" in
|
|||||||
TEST_TARGET=t-exec
|
TEST_TARGET=t-exec
|
||||||
;;
|
;;
|
||||||
valgrind)
|
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"
|
echo "Unknown configuration $config"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user