#zig build test halting

1 messages · Page 1 of 1 (latest)

hazy isle
#

Hi there!

I'm using zig as a tool for a raw C project. My code is written in C and test suite in Zig.

I'm having an issue whenever I run zig build test_integration, the test execution never finishes, but if I execute the binary output for that same test, it finishes without errors. (Video attached)

Any ideas of what may be happening? Really appreciate it!
Zig version 0.15.1

midnight portal
#

you can use a debugger like gdb and see where its getting stuck

low cape
pastel birch
midnight portal
#

it should be possible to tell gdb load the symbols from this binary but that probably wont work I forgot test just executes the file directly