From 1ccf94e4fa8dd334a33e4174043acbeb57730802 Mon Sep 17 00:00:00 2001 From: xxyzz Date: Mon, 14 Feb 2022 14:04:07 +0800 Subject: [PATCH] Run 33 GNU tests that require root --- util/run-gnu-test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/run-gnu-test.sh b/util/run-gnu-test.sh index 4ff266833..360807013 100755 --- a/util/run-gnu-test.sh +++ b/util/run-gnu-test.sh @@ -31,6 +31,8 @@ export RUST_BACKTRACE=1 if test -n "$1"; then # if set, run only the test passed export RUN_TEST="TESTS=$1" +elif test -n "$CI"; then + sudo make -j "$(nproc)" check-root SUBDIRS=. RUN_EXPENSIVE_TESTS=yes RUN_VERY_EXPENSIVE_TESTS=yes VERBOSE=no gl_public_submodule_commit="" srcdir="${path_GNU}" TEST_SUITE_LOG="tests/test-suite-root.log" || : fi # * timeout used to kill occasionally errant/"stuck" processes (note: 'release' testing takes ~1 hour; 'debug' testing takes ~2.5 hours)