From 6874e56f8cf9c8537c572c9630ab7f2a9e4807da Mon Sep 17 00:00:00 2001 From: Robert Tuck Date: Thu, 6 Feb 2025 10:53:24 +0000 Subject: [PATCH] Change nexgen tests to run against imginfo from docker image --- .../hyperion/external_interaction/test_nexgen.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/system_tests/hyperion/external_interaction/test_nexgen.py b/tests/system_tests/hyperion/external_interaction/test_nexgen.py index 011d6cc22..3059d310a 100644 --- a/tests/system_tests/hyperion/external_interaction/test_nexgen.py +++ b/tests/system_tests/hyperion/external_interaction/test_nexgen.py @@ -137,7 +137,10 @@ def _check_nexgen_output_passes_imginfo(test_file, reference_file): def _run_imginfo(filename): process = subprocess.run( - ["utility_scripts/run_imginfo.sh", filename], text=True, capture_output=True + # This file is provided in the system test docker image + ["/usr/local/bin/imginfo", filename], + text=True, + capture_output=True, ) assert process.returncode != 2, "imginfo is not available" assert process.returncode == 0, (