diff options
author | pommicket <pommicket@gmail.com> | 2025-09-15 17:16:48 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-15 17:16:48 -0400 |
commit | 2b519f42fec913763abd0d967301916e763e770a (patch) | |
tree | c7268e64d6c0f3d7db7ac7134d20398a54ff8e36 /tests/test.h | |
parent | dc989291eb6b9b20a25a78f35d6f04968a88ed0b (diff) |
Better testing framework
Diffstat (limited to 'tests/test.h')
-rw-r--r-- | tests/test.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test.h b/tests/test.h index e4123bf..59807d1 100644 --- a/tests/test.h +++ b/tests/test.h @@ -1,6 +1,5 @@ #include <pom.h> - #if __GNUC__ >= 6 #define ATTRIBUTE_PRINTF(fmt, args) __attribute__ ((format(printf, fmt, args))) #else @@ -14,6 +13,8 @@ #endif void test_fail(PRINTF_FORMAT_STRING const char *, ...) ATTRIBUTE_PRINTF(1, 2); -void test_parsing(const char *test_dir); -void test_errors(const char *test_dir); -void test_location(const char *test_dir); +void test_parsing(void); +void test_errors(void); +void test_location(void); +char **list_dir(const char *dir, const char *suffix); +void free_listing(char **listing); |