summaryrefslogtreecommitdiff
path: root/run_tests.c
blob: 38f64611a955a6f26e77bb0e28b13de88e13fb92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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);
}