Skip to content

Commit

Permalink
Change nexgen tests to run against imginfo from docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
rtuck99 committed Feb 6, 2025
1 parent 911fad0 commit 6874e56
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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, (
Expand Down

0 comments on commit 6874e56

Please sign in to comment.