summaryrefslogtreecommitdiff
path: root/run_tests.c
blob: 07293044f0a4d49298f51a4130147caad977f141 (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
#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                     \
  -lm                               \
  -fsanitize=undefined,address,leak \
  -o $BIN $SRC &&                   \
  ./$BIN $@
STATUS=$?
rm -f $BIN
exit $STATUS # */
#endif

#define ENABLE_TESTING 1
#define ENABLE_X11 0
#define ENABLE_WAYLAND 0
#define ENABLE_ALSA 0

#include "runtime.c"
#include "graphics.c"
#include "stackless_coroutine.c"

void update_and_render_frame(void) { }

i32 main(i32 argc, c8 **argv) {
  return run_tests(argc, argv);
}