Ziggit

Add test filters based on build system step (opens in new tab)

Hi, is there any way to set test filters based on a std.Build.Step.Run step? std.Build.addTest only supports passing filters as a [] const []const u8. Context: I want to run some microbenchmarks, which are defined in tests similar to . To discover which tests are benchmarks I run them in debug mode with a custom test runner which reports this (very similar to how fuzz tests are detected in std). Here I also run them once to detect any safety checked IB I run into. I then recompile my tests wi...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help