aboutsummaryrefslogtreecommitdiff
path: root/tests/test_driver.h
diff options
context:
space:
mode:
authoraxtloss <axtlos@getcryst.al>2024-09-27 12:11:52 +0200
committeraxtloss <axtlos@getcryst.al>2024-09-27 12:11:52 +0200
commit7aa261f8d57cb53cc334f6bf1920a6f8517ff054 (patch)
treef23a96feda17de737c71b45dc94e7e044410ad35 /tests/test_driver.h
parent27bb394bc0bf2ca66d06931bf1e73a3e20d5741a (diff)
downloadextlib-7aa261f8d57cb53cc334f6bf1920a6f8517ff054.tar.gz
extlib-7aa261f8d57cb53cc334f6bf1920a6f8517ff054.tar.bz2
Rework test suite to be more modular
Diffstat (limited to 'tests/test_driver.h')
-rw-r--r--tests/test_driver.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_driver.h b/tests/test_driver.h
new file mode 100644
index 0000000..4c157d9
--- /dev/null
+++ b/tests/test_driver.h
@@ -0,0 +1,8 @@
+struct test_t {
+ int (*test_func)(void);
+ char *test_name;
+ char *test_desc;
+};
+
+void register_test (struct test_t *test);
+void tests_entrypoint ();