Commit 5db395f20b

Bingwu Zhang <xtex@aosc.io>
2025-06-14 08:38:32
compiler: test runner: fix tests never fails on crippled architectures
1 parent 0adcfd6
Changed files (1)
lib
lib/compiler/test_runner.zig
@@ -309,7 +309,7 @@ pub fn mainSimple() anyerror!void {
                 stderr.writeAll("... ") catch {};
                 stderr.writeAll("PASS\n") catch {};
             }
-        } else |err| if (enable_print) {
+        } else |err| {
             if (enable_print) {
                 stderr.writeAll(test_fn.name) catch {};
                 stderr.writeAll("... ") catch {};