mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
test: ignore gcov errors in TEST-34
TEST-34 complains in `test_check_writable` when running with gcov, as the build directory tree is not writable with DynamicUser=true. As I had no luck with $GCOV_PREFIX and other runtime gcov configuration, let's just ignore the gcov errors for this test.
This commit is contained in:
@@ -3,6 +3,11 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
TEST_DESCRIPTION="test migrating state directory from DynamicUser=1 to DynamicUser=0 and back"
|
TEST_DESCRIPTION="test migrating state directory from DynamicUser=1 to DynamicUser=0 and back"
|
||||||
|
# Certain subtests run with DynamicUser=true which makes writing the gcov
|
||||||
|
# artifacts impossible. As $GCOV_PREFIX and friends seem to be ineffective
|
||||||
|
# in this situation, let's simply ignore all gcov complaints for the whole
|
||||||
|
# test to make it happy.
|
||||||
|
IGNORE_MISSING_COVERAGE=yes
|
||||||
|
|
||||||
# shellcheck source=test/test-functions
|
# shellcheck source=test/test-functions
|
||||||
. "${TEST_BASE_DIR:?}/test-functions"
|
. "${TEST_BASE_DIR:?}/test-functions"
|
||||||
|
|||||||
Reference in New Issue
Block a user