summaryrefslogtreecommitdiff
path: root/run_tests.c
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2025-04-24 02:58:57 +0200
committerMitya Selivanov <automainint@guattari.tech>2025-04-24 02:58:57 +0200
commitf8bd7cfdb9ed7ec99d612dd03670e50aa0c60db2 (patch)
treea6b7df9d6e547262b86db964f11dd6b7e56cb403 /run_tests.c
parent5dc100fde9e30f4424d77ced522df58ac03f82c6 (diff)
downloadreduced_system_layer-f8bd7cfdb9ed7ec99d612dd03670e50aa0c60db2.zip
Refactor testing
Diffstat (limited to 'run_tests.c')
-rwxr-xr-xrun_tests.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/run_tests.c b/run_tests.c
index 43898da..0729304 100755
--- a/run_tests.c
+++ b/run_tests.c
@@ -11,8 +11,8 @@ gcc \
-Wno-unused-but-set-variable \
-Wno-unused-function \
-O3 -D NDEBUG \
- -fsanitize=undefined,address,leak \
-lm \
+ -fsanitize=undefined,address,leak \
-o $BIN $SRC && \
./$BIN $@
STATUS=$?
@@ -20,10 +20,7 @@ rm -f $BIN
exit $STATUS # */
#endif
-#ifndef EVERY_TEST_SUITE
-#define EVERY_TEST_SUITE
-#endif
-
+#define ENABLE_TESTING 1
#define ENABLE_X11 0
#define ENABLE_WAYLAND 0
#define ENABLE_ALSA 0
@@ -32,6 +29,8 @@ exit $STATUS # */
#include "graphics.c"
#include "stackless_coroutine.c"
+void update_and_render_frame(void) { }
+
i32 main(i32 argc, c8 **argv) {
return run_tests(argc, argv);
}