aboutsummaryrefslogtreecommitdiff
path: root/c/main.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-15 22:22:20 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-15 22:22:20 +0200
commit8877627ee3fcd5a8f0ce2fcccec7688973e9cb2d (patch)
tree6a57fcb19aa77dfece89b000ae656c9549e7c156 /c/main.cpp
parent509c461498f0e68a62c004778df890d56ebb2a09 (diff)
downloadEpisodeBrowser-8877627ee3fcd5a8f0ce2fcccec7688973e9cb2d.tar.gz
Add testing system.HEADmaster
Diffstat (limited to 'c/main.cpp')
-rw-r--r--c/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/c/main.cpp b/c/main.cpp
index fb5764b..74c99ca 100644
--- a/c/main.cpp
+++ b/c/main.cpp
@@ -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;