fix: parttool print subprocess output on fail

This commit is contained in:
Adam Múdry
2025-03-24 14:14:17 +01:00
committed by BOT
parent 674ad565f8
commit 851e869bb2

View File

@@ -41,7 +41,11 @@ def test_examples_parttool(dut: Dut) -> None:
]
for cmd in cmds:
subprocess.check_call(BASE_CMD + cmd.split())
try:
subprocess.check_call(BASE_CMD + cmd.split())
except subprocess.CalledProcessError as e:
print(e.output)
raise
clean_files = ['custom.bin', 'custom1.bin']
for clean_file in clean_files: