Merge pull request #9270 from oech3/gtest-dep

build-gnu.sh: Freeze SELinux build mode
This commit is contained in:
Sylvestre Ledru 2025-11-15 13:47:53 +01:00 committed by GitHub
commit 62121a9da0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -140,7 +140,8 @@ else
# Change the PATH to test the uutils coreutils instead of the GNU coreutils
sed -i "s/^[[:blank:]]*PATH=.*/ PATH='${UU_BUILD_DIR//\//\\/}\$(PATH_SEPARATOR)'\"\$\$PATH\" \\\/" tests/local.mk
./bootstrap --skip-po
./configure --quiet --disable-gcc-warnings --disable-nls --disable-dependency-tracking --disable-bold-man-page-references
./configure --quiet --disable-gcc-warnings --disable-nls --disable-dependency-tracking --disable-bold-man-page-references \
"$([ ${SELINUX_ENABLED} = 1 ] && echo --with-selinux || echo --without-selinux)"
#Add timeout to to protect against hangs
sed -i 's|^"\$@|'"${SYSTEM_TIMEOUT}"' 600 "\$@|' build-aux/test-driver
sed -i 's| tr | /usr/bin/tr |' tests/init.sh