1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

test: allow to skip matrix_run_one() if $TEST_MATCH_TESTCASE is set

This commit is contained in:
Yu Watanabe 2024-08-17 01:47:33 +09:00
parent 0b695febb2
commit 7908e1d459

View File

@ -943,6 +943,17 @@ matrix_run_one() {
return 0
}
testcase_api_vfs() {
local api_vfs_writable
for api_vfs_writable in yes no network; do
matrix_run_one no no $api_vfs_writable
matrix_run_one yes no $api_vfs_writable
matrix_run_one no yes $api_vfs_writable
matrix_run_one yes yes $api_vfs_writable
done
}
testcase_check_os_release() {
# https://github.com/systemd/systemd/issues/29185
local base common_opts root
@ -1004,10 +1015,3 @@ EOF
}
run_testcases
for api_vfs_writable in yes no network; do
matrix_run_one no no $api_vfs_writable
matrix_run_one yes no $api_vfs_writable
matrix_run_one no yes $api_vfs_writable
matrix_run_one yes yes $api_vfs_writable
done