summaryrefslogtreecommitdiff
path: root/run_tests.c
diff options
context:
space:
mode:
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);
}