From b98dd4aaa9f62b79d6432a32342b19aed3374d01 Mon Sep 17 00:00:00 2001 From: Digant Desai Date: Wed, 26 Mar 2025 17:06:28 -0700 Subject: [PATCH] Use `llama_inputs` config option only if available Summary: As title Reviewed By: larryliu0820, kirklandsign Differential Revision: D71577157 --- backends/arm/test/conftest.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backends/arm/test/conftest.py b/backends/arm/test/conftest.py index ca6aa4f4dd8..e5d7783fea3 100644 --- a/backends/arm/test/conftest.py +++ b/backends/arm/test/conftest.py @@ -44,7 +44,10 @@ def pytest_configure(config): ) # Only enable if we also have the TOSA reference model available. pytest._test_options["corstone_fvp"] = True # type: ignore[attr-defined] - pytest._test_options["llama_inputs"] = config.option.llama_inputs # type: ignore[attr-defined] + + if getattr(config.option, "llama_inputs", False) and config.option.llama_inputs: + pytest._test_options["llama_inputs"] = config.option.llama_inputs # type: ignore[attr-defined] + pytest._test_options["fast_fvp"] = False # type: ignore[attr-defined] if getattr(config.option, "fast_fvp", False): pytest._test_options["fast_fvp"] = config.option.fast_fvp # type: ignore[attr-defined]