mirror of
https://github.com/ziglang/zig.git
synced 2026-01-06 21:43:25 +00:00
test-cases harness: refresh just before update()
This makes it so that in a -Dsingle-threaded build of test-cases, if a crash happens, the test case name will be printed just before the stderr of the crash.
This commit is contained in:
parent
4e53249d76
commit
acf1aa10c2
@ -1594,6 +1594,7 @@ pub const TestContext = struct {
|
||||
|
||||
var module_node = update_node.start("parse/analysis/codegen", 0);
|
||||
module_node.activate();
|
||||
module_node.context.refresh();
|
||||
try comp.makeBinFileWritable();
|
||||
try comp.update();
|
||||
module_node.end();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user