diff options
Diffstat (limited to 'c/main.cpp')
-rw-r--r-- | c/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -10,6 +10,7 @@ #include "episodelistview.h" #include "layout.h" #include "pl.h" +#include "test.h" #include "util.h" #ifdef DEBUG @@ -161,6 +162,10 @@ int WINAPI WinMain(const HINSTANCE hInstance, const HINSTANCE, char* const, cons g_elv->Update(); g_elv->RestoreFocus(); +#ifdef DEBUG + RunTests(); +#endif + MSG msg; while (GetMessage(&msg, nullptr, 0, 0) > 0) { if (IsDialogMessage(hWnd, &msg)) continue; |