Skip to content

Commit 3b77dad

Browse files
committed
[ET][arm] Fix broken internal arm tests
## Context Fix test failures caused by #9081 (D70889669). Apply suggested fix from @hsz. Also addresses T168807700 Differential Revision: [D70979587](https://our.internmc.facebook.com/intern/diff/D70979587/) [ghstack-poisoned]
1 parent ddf0d9e commit 3b77dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/arm/test/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ 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 getattr(config.option, "arm_run_corstoneFVP", False) and config.option.arm_run_corstoneFVP:
3636
corstone300_exists = shutil.which("FVP_Corstone_SSE-300_Ethos-U55")
3737
corstone320_exists = shutil.which("FVP_Corstone_SSE-320")
3838
if not (corstone300_exists and corstone320_exists):

0 commit comments

Comments
 (0)