mirror of
https://github.com/rust-vmm/rust-vmm-ci.git
synced 2026-08-05 03:08:31 +00:00
Assert no spaces in crate features JSON
Spaces in the `crate_features` JSON value can cause errors when running kcov. Fixes: https://github.com/rust-vmm/rust-vmm-ci/issues/74 Signed-off-by: Ahmed Abouzied <email@aabouzied.com>
This commit is contained in:
committed by
Laura Loghin
parent
68d4dbf85c
commit
7931077cdc
@@ -51,6 +51,9 @@ def _read_test_config():
|
||||
assert "exclude_path" in coverage_config
|
||||
assert "crate_features" in coverage_config
|
||||
|
||||
assert ' ' not in coverage_config["crate_features"], \
|
||||
"spaces are not allowed in crate_features value"
|
||||
|
||||
return coverage_config
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user