tests: Integrated ImGui Test Engine

This commit is contained in:
WerWolv
2025-05-29 23:44:49 +02:00
parent fe1309fb3d
commit 1ca40481bb
41 changed files with 17612 additions and 14 deletions

View File

@@ -23,6 +23,10 @@
#include <exception>
#include <typeinfo>
#if defined(IMGUI_TEST_ENGINE)
#include <imgui_te_engine.h>
#endif
#if defined (OS_WINDOWS)
#include <windows.h>
#elif defined (OS_MACOS)
@@ -123,6 +127,10 @@ namespace hex::crash {
// Flush all streams
fflush(stdout);
fflush(stderr);
#if defined(IMGUI_TEST_ENGINE)
ImGuiTestEngine_CrashHandler();
#endif
}
// Custom signal handler to print various information and a stacktrace when the application crashes