| commit | 42361031089cf09f0461a3014106aacd9f50c470 | [log] [tgz] |
|---|---|---|
| author | Steven Fontanella <stevenfont@google.com> | Mon Dec 29 23:12:49 2025 |
| committer | GitHub <noreply@github.com> | Mon Dec 29 23:12:49 2025 |
| tree | ebdc25a8ce4d146559edd73cf61c13ab7938c7d5 | |
| parent | 7ab9733729aa324991c2741e115714629085f229 [diff] |
Increment failure count on exception in spec tests (#8163) It was previously covered by [these lines](https://github.com/WebAssembly/binaryen/blob/2f798880e456161bee4dc5d403777e1305db45eb/check.py#L219-L220) which were accidentally removed when changing the tests to be multithreaded. Before: https://gist.github.com/stevenfontanella/377b3cd922ff0a4bb20205d4568ef912 After: https://gist.github.com/stevenfontanella/0c1c804451c405f241af52f0da815c11
diff --git a/check.py b/check.py index 0578bda..a8bb941 100755 --- a/check.py +++ b/check.py
@@ -257,6 +257,7 @@ try: run_one_spec_test(wast, stdout=out) except Exception as e: + shared.num_failures += 1 # Serialize exceptions into the output string buffer # so they can be reported on the main thread. print(e, file=out)