Tests: Disable TOML write tests on c10s

Recently tomli_w package has been removed from c10s and calling it in
python will fail. This commit excludes related tests from being
executed.
This commit is contained in:
Paweł Poławski 2024-09-11 18:22:14 +02:00
parent 652c405fd1
commit 9aa6acc476

View File

@ -45,6 +45,12 @@ if ([ "${ID}" == "rhel" ] || [ "${ID}" == "centos" ]) && [ "${VERSION_ID%%.*}" =
TEST_SELECTION_EXPR="${TEST_SELECTION_EXPR} and not (TestStages and test_qemu)"
fi
if ([ "${ID}" == "rhel" ] || [ "${ID}" == "centos" ]) && [ "${VERSION_ID%%.*}" == "10" ]; then
# tomli_w package has been remowed so writin TOML config will fail
TEST_SELECTION_EXPR="${TEST_SELECTION_EXPR} and not (test_write_read)"
fi
# Move to the directory with sources
cd "${TMT_SOURCE_DIR}"