zig build test -Din_memory=true --summary all
doesn't seem to run tests
#131
Closed
johnbcodes
started this conversation in
General
Replies: 3 comments 2 replies
-
This is weird. I just tried it with zig version
(the failures are expected). Which OS are you running this on ? |
Beta Was this translation helpful? Give feedback.
2 replies
-
I tested on my Linux PC and I can't make the test fail either with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fixed with #134 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using zig-sqlite as a reference for my own projects and while I was poking around for answers related to running a full test suite with modules I noticed that running
zig build test -Din_memory=true --summary all
does not actually print a test summary. So I added a failing test tosqlite.zig
..and it doesn't fail. I also tried using the bundled option with
zig build test -Duse_bundled=true -Din_memory=true --summary all
and made sure that build caches were clean. I'm using the master version of Zig so it matches CI which also doesn't print a test summary in the latest runs.I'm fairly new to Zig so having trouble understanding what's going on.
Beta Was this translation helpful? Give feedback.
All reactions