We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8090bd commit 8c01b99Copy full SHA for 8c01b99
toolchain/mfc/test/test.py
@@ -291,12 +291,12 @@ def _handle_case(case: TestCase, devices: typing.Set[int]):
291
progress_str = f"({current_test_number:3d}/{total_test_count:3d})"
292
cons.print(f" {progress_str} [bold magenta]{case.get_uuid()}[/bold magenta] {duration:6.2f} {case.trace}")
293
294
- except TestTimeoutError:
+ except TestTimeoutError as exc:
295
raise MFCException(
296
f"Test {case} exceeded 1 hour timeout. "
297
f"This may indicate a hung simulation or misconfigured case. "
298
f"Check the log at: {os.path.join(case.get_dirpath(), 'out_pre_sim.txt')}"
299
- )
+ ) from exc
300
finally:
301
signal.alarm(0) # Cancel alarm
302
0 commit comments