forked from espressif/esp-idf
fix: parttool print subprocess output on fail
This commit is contained in:
@@ -41,7 +41,11 @@ def test_examples_parttool(dut: Dut) -> None:
|
|||||||
]
|
]
|
||||||
|
|
||||||
for cmd in cmds:
|
for cmd in cmds:
|
||||||
|
try:
|
||||||
subprocess.check_call(BASE_CMD + cmd.split())
|
subprocess.check_call(BASE_CMD + cmd.split())
|
||||||
|
except subprocess.CalledProcessError as e:
|
||||||
|
print(e.output)
|
||||||
|
raise
|
||||||
|
|
||||||
clean_files = ['custom.bin', 'custom1.bin']
|
clean_files = ['custom.bin', 'custom1.bin']
|
||||||
for clean_file in clean_files:
|
for clean_file in clean_files:
|
||||||
|
Reference in New Issue
Block a user