summaryrefslogtreecommitdiff
path: root/source/tests
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-09-25 20:02:08 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-09-25 20:02:08 +0200
commit0d9781dafdfda9569a2373216ace013663f0d858 (patch)
tree14ebcf10eb0e32a02190ce4c80363979f9f7216d /source/tests
parente747b343c332907110dad26e15c20daf3d7d7125 (diff)
downloadsaw-0d9781dafdfda9569a2373216ace013663f0d858.zip
Sokol and nanovg setup
Diffstat (limited to 'source/tests')
-rw-r--r--source/tests/_exe.c2
-rw-r--r--source/tests/_static.c1
-rw-r--r--source/tests/main.test.c9
3 files changed, 10 insertions, 2 deletions
diff --git a/source/tests/_exe.c b/source/tests/_exe.c
new file mode 100644
index 0000000..39412dd
--- /dev/null
+++ b/source/tests/_exe.c
@@ -0,0 +1,2 @@
+#include "../saw/_lib.c"
+#include "main.test.c"
diff --git a/source/tests/_static.c b/source/tests/_static.c
deleted file mode 100644
index 8d1c8b6..0000000
--- a/source/tests/_static.c
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/tests/main.test.c b/source/tests/main.test.c
index 8d1c8b6..14d3249 100644
--- a/source/tests/main.test.c
+++ b/source/tests/main.test.c
@@ -1 +1,8 @@
-
+#define KIT_TEST_IMPLEMENTATION
+#include "../kit/kit_test.h"
+
+int main(int argc, char **argv) {
+ return run_tests(argc, argv);
+}
+
+#undef KIT_TEST_FILE