Skip to content

Commit 3afa58c

Browse files
authored
Fix arm test (#9126)
Fix internal CI
1 parent 54dbf0a commit 3afa58c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

backends/arm/test/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ def pytest_configure(config):
3232
pytest._test_options = {} # type: ignore[attr-defined]
3333
pytest._test_options["corstone_fvp"] = False # type: ignore[attr-defined]
3434

35-
if config.option.arm_run_corstoneFVP:
35+
if (
36+
getattr(config.option, "arm_run_corstoneFVP", False)
37+
and config.option.arm_run_corstoneFVP
38+
):
3639
corstone300_exists = shutil.which("FVP_Corstone_SSE-300_Ethos-U55")
3740
corstone320_exists = shutil.which("FVP_Corstone_SSE-320")
3841
if not (corstone300_exists and corstone320_exists):

0 commit comments

Comments
 (0)