Skip to content

Commit 7c7c7ba

Browse files
authored
Merge pull request #218 from WebAssembly/stop-after-failure
test runner: stop if any step failed
2 parents 7d81a7a + 7b1d667 commit 7c7c7ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test-runner/wasi_test_runner/runtime_adapter.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ def run_test(self, config: Config, argv: List[str]) -> Result:
117117
cleanup_dirs = None
118118
try:
119119
for op in config.operations:
120+
if result.failures:
121+
break
122+
120123
match op:
121124
case Run(_, _, dirs):
122125
_cleanup_test_output(dirs)

0 commit comments

Comments
 (0)