pokeemmo/src/test_runner_stub.c
hedara90 2f5dfa99f4
Make gTestRunnerHeadless into a constant outside of tests (#8306)
Co-authored-by: Hedara <hedara90@gmail.com>
2025-11-20 22:14:34 +01:00

14 lines
413 B
C

#include "global.h"
#include "test_runner.h"
__attribute__((weak))
const bool8 gTestRunnerEnabled = FALSE;
// The Makefile patches gTestRunnerHeadless as part of make test.
// This allows us to open the ROM in an mgba with a UI and see the
// animations and messages play, which helps when debugging a test.
#if TESTING
const bool8 gTestRunnerHeadless = FALSE;
#endif
const bool8 gTestRunnerSkipIsFail = FALSE;