test framework supports name prefix and filter argument

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

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;
}