Add the akgl_ui subsystem: clay-backed menus, HUDs and dialogs #3

Merged
andrew merged 15 commits from clay-ui into main 2026-08-02 16:14:50 -04:00
Showing only changes of commit 5560edf410 - Show all commits

View File

@@ -49,8 +49,20 @@ rm -f "$AKGL_MEMCHECK_LOG"/MemoryChecker.*.log
# The run itself is allowed to fail: a suite that valgrind makes slow enough to # The run itself is allowed to fail: a suite that valgrind makes slow enough to
# trip an assertion still produced a log worth reading, and the log is what # trip an assertion still produced a log worth reading, and the log is what
# decides the exit status below. # decides the exit status below.
#
# docs_examples and docs_screenshots are excluded, and the exclusion deserves
# its reasons stated: those two tests are *shell scripts* that drive gcc and
# run the compiled snippets as child processes. Valgrind wraps the test
# command, does not trace children, and so spends the whole test memchecking
# /bin/bash -- 413 of bash's own by-design leaks on the first CI run that got
# this far, and not one byte of libakgl. The snippet programs themselves are
# ordinary akgl consumers whose code paths the suites and example games
# already cover below, under valgrind, as real binaries. A caller's own -E
# overrides this one (ctest takes the last), which is fine: a narrowed run
# chose its scope on purpose.
set +e set +e
ctest --test-dir "$AKGL_BUILD_DIR" -T memcheck --output-on-failure "$@" ctest --test-dir "$AKGL_BUILD_DIR" -T memcheck --output-on-failure \
-E '^(docs_examples|docs_screenshots)$' "$@"
AKGL_CTEST_STATUS=$? AKGL_CTEST_STATUS=$?
set -e set -e