diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-15 22:22:20 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-15 22:22:20 +0200 |
commit | 8877627ee3fcd5a8f0ce2fcccec7688973e9cb2d (patch) | |
tree | 6a57fcb19aa77dfece89b000ae656c9549e7c156 /c/main.cpp | |
parent | 509c461498f0e68a62c004778df890d56ebb2a09 (diff) | |
download | EpisodeBrowser-8877627ee3fcd5a8f0ce2fcccec7688973e9cb2d.tar.gz |
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; |