aboutsummaryrefslogtreecommitdiff
path: root/c/main.cpp
diff options
context:
space:
mode:
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;