test framework supports name prefix and filter argument

rename self hosted tests to behavior tests
This commit is contained in:
Andrew Kelley committed 2017-04-19 15:38:12 -04:00
1 parent 9b7f438882
commit d12f1f5b49
9 files changed
+98 -45

No files matched your search

+8
View File
@@ -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;
}