mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
test framework supports name prefix and filter argument
rename self hosted tests to behavior tests
This commit is contained in:
1 parent
9b7f438882
commit
d12f1f5b49
9 files changed
+98
-45
No files matched your search
@@ -147,6 +147,14 @@ void codegen_set_omit_zigrt(CodeGen *g, bool omit_zigrt) {
|
||||
g->omit_zigrt = omit_zigrt;
|
||||
}
|
||||
|
||||
void codegen_set_test_filter(CodeGen *g, Buf *filter) {
|
||||
g->test_filter = filter;
|
||||
}
|
||||
|
||||
void codegen_set_test_name_prefix(CodeGen *g, Buf *prefix) {
|
||||
g->test_name_prefix = prefix;
|
||||
}
|
||||
|
||||
void codegen_set_is_test(CodeGen *g, bool is_test_build) {
|
||||
g->is_test_build = is_test_build;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user