diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2025-04-16 20:12:57 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2025-04-16 20:12:57 +0200 |
commit | 84c1df59c4857eeaa0d209ab08f983fac20d38db (patch) | |
tree | 61e760b8f73f82dceec829b41feec3916d327b4d /run_tests.c | |
parent | e748e39c669506cfcb2eb8f2549dfd201d6a6b53 (diff) | |
download | reduced_system_layer-84c1df59c4857eeaa0d209ab08f983fac20d38db.zip |
Testing
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); +} |