diff options
Diffstat (limited to 'run_tests.c')
-rwxr-xr-x | run_tests.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/run_tests.c b/run_tests.c new file mode 100755 index 0000000..38f6461 --- /dev/null +++ b/run_tests.c @@ -0,0 +1,37 @@ +#if 0 /* +SRC=${0##*./} +BIN=${SRC%.*} +gcc \ + -Wall -Wextra -Werror -pedantic \ + -Wno-missing-braces \ + -Wno-old-style-declaration \ + -Wno-overlength-strings \ + -Wno-unused-parameter \ + -Wno-unused-variable \ + -Wno-unused-but-set-variable \ + -Wno-unused-function \ + -O3 -D NDEBUG \ + -fsanitize=undefined,address,leak \ + -lm \ + -o $BIN $SRC && \ + ./$BIN $@ +STATUS=$? +rm -f $BIN +exit $STATUS # */ +#endif + +#ifndef EVERY_TEST_SUITE +#define EVERY_TEST_SUITE +#endif + +#define ENABLE_X11 0 +#define ENABLE_WAYLAND 0 +#define ENABLE_ALSA 0 + +#include "reduced_system_layer.c" +#include "graphics.c" +#include "stackless_coroutine.c" + +i32 main(i32 argc, c8 **argv) { + return run_tests(argc, argv); +} |