@@ -79,12 +79,12 @@ pub fn panic(message: []const u8, stack_trace: ?*std.builtin.StackTrace, _: ?usi
79
79
msg_wr .writeIntNative (usize , global .failed ) catch unreachable ;
80
80
81
81
if (std .mem .eql (u8 , message , global .buf_panic_msg [0.. global .buf_panic_msg_fill ])) {
82
- std .debug .print ("execpted panic\n " , .{});
82
+ // std.debug.print("execpted panic\n", .{});
83
83
msg_wr .writeByte (@intCast (u8 , @enumToInt (PanicT .expected_panic ))) catch unreachable ;
84
84
msg_pipe_file .close (); // workaround process.exit
85
85
std .process .exit (0 );
86
86
} else {
87
- std .debug .print ("unexecpted panic\n " , .{});
87
+ // std.debug.print("unexecpted panic\n", .{});
88
88
msg_wr .writeByte (@intCast (u8 , @enumToInt (PanicT .unexpected_panic ))) catch unreachable ;
89
89
msg_pipe_file .close (); // workaround process.exit
90
90
std .debug .panic ("{s}" , .{message });
@@ -130,12 +130,12 @@ fn processArgs(static_alloc: std.mem.Allocator) Cli {
130
130
131
131
cli .state = .Worker ;
132
132
cli .test_nr = std .fmt .parseUnsigned (u64 , args [1 ], 10 ) catch unreachable ;
133
- std .debug .print ("test worker (exe_path test_nr handle: " , .{});
134
- std .debug .print ("{s} {s} {s}\n " , .{ args [0 ], args [1 ], args [2 ] });
133
+ // std.debug.print("test worker (exe_path test_nr handle: ", .{});
134
+ // std.debug.print("{s} {s} {s}\n", .{ args[0], args[1], args[2] });
135
135
} else {
136
136
cli .state = .Control ;
137
137
cli .test_nr = 0 ;
138
- std .debug .print ("test control: {s}\n " , .{args [0 ]});
138
+ // std.debug.print("test control: {s}\n", .{args[0]});
139
139
}
140
140
cli .test_runner_exe_path = args [0 ];
141
141
return cli ;
@@ -174,7 +174,7 @@ pub fn main() !void {
174
174
try child_proc .spawn ();
175
175
}
176
176
const ret_term = try child_proc .wait ();
177
- std .debug .print ("ret_term: {any}\n " , .{ret_term .Exited });
177
+ // std.debug.print("ret_term: {any}\n", .{ret_term.Exited});
178
178
if (ret_term .Exited != @enumToInt (ChildProcess .Term .Exited )) {
179
179
@panic ("TODO: handle printing message for exit reason." );
180
180
}
@@ -187,11 +187,11 @@ pub fn main() !void {
187
187
};
188
188
const file_rd = file .reader ();
189
189
const ret_passed = try file_rd .readIntNative (usize );
190
- std .debug .print ("ctrl passed: {d}\n " , .{ret_passed });
190
+ // std.debug.print("ctrl passed: {d}\n", .{ret_passed});
191
191
const ret_skipped = try file_rd .readIntNative (usize );
192
- std .debug .print ("ctrl skipped: {d}\n " , .{ret_skipped });
192
+ // std.debug.print("ctrl skipped: {d}\n", .{ret_skipped});
193
193
const ret_failed = try file_rd .readIntNative (usize );
194
- std .debug .print ("ctrl fail: {d}\n " , .{ret_failed });
194
+ // std.debug.print("ctrl fail: {d}\n", .{ret_failed});
195
195
global .passed += ret_passed ;
196
196
global .skipped += ret_skipped ;
197
197
global .failed += ret_failed ;
0 commit comments