diff options
Diffstat (limited to 'tests/torture.h')
-rw-r--r-- | tests/torture.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/torture.h b/tests/torture.h index e1738ab0..f5897561 100644 --- a/tests/torture.h +++ b/tests/torture.h @@ -42,7 +42,7 @@ /* Used by main to communicate with parse_opt. */ struct argument_s { - char *args[2]; + const char *pattern; int verbose; }; @@ -83,6 +83,9 @@ const char *torture_get_testkey_passphrase(void); void torture_write_file(const char *filename, const char *data); +#define torture_filter_tests(tests) _torture_filter_tests(tests, sizeof(tests) / sizeof(tests)[0]) +void _torture_filter_tests(UnitTest *tests, size_t ntests); + /* * This function must be defined in every unit test file. */ |