Skip to content

Commit f50b590

Browse files
Use llama_inputs config option only if available (#9667)
Summary: As title Reviewed By: larryliu0820, kirklandsign Differential Revision: D71577157 Co-authored-by: Digant Desai <[email protected]>
1 parent 1a187c4 commit f50b590

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
@@ -44,7 +44,10 @@ def pytest_configure(config):
4444
)
4545
# Only enable if we also have the TOSA reference model available.
4646
pytest._test_options["corstone_fvp"] = True # type: ignore[attr-defined]
47-
pytest._test_options["llama_inputs"] = config.option.llama_inputs # type: ignore[attr-defined]
47+
48+
if getattr(config.option, "llama_inputs", False) and config.option.llama_inputs:
49+
pytest._test_options["llama_inputs"] = config.option.llama_inputs # type: ignore[attr-defined]
50+
4851
pytest._test_options["fast_fvp"] = False # type: ignore[attr-defined]
4952
if getattr(config.option, "fast_fvp", False):
5053
pytest._test_options["fast_fvp"] = config.option.fast_fvp # type: ignore[attr-defined]

0 commit comments

Comments
 (0)