Skip to content

Commit 146abd3

Browse files
committed
debug: add startup printf to diagnose Windows segfault
1 parent 973ca09 commit 146abd3

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

tests/test_main.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,10 @@
4646
#include "test_lifecycle.cpp"
4747
#include "test_atlas.cpp"
4848

49-
UTEST_MAIN();
49+
UTEST_STATE();
50+
int main(int argc, const char *const argv[])
51+
{
52+
printf("TEST_MAIN_STARTED\n");
53+
fflush(stdout);
54+
return utest_main(argc, argv);
55+
}

0 commit comments

Comments
 (0)