From 7e90bb1967477b331f134e27d6f0ea4cc69ffb0a Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 25 May 2025 10:14:14 +0900 Subject: Add cmake rules for utests and fix tester program Signed-off-by: Michele Calgaro (cherry picked from commit edc958f6e74feb036c90bfa55f40df1c55c37153) --- src/utests/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utests/main.cpp') diff --git a/src/utests/main.cpp b/src/utests/main.cpp index 7618cac..f9feb89 100644 --- a/src/utests/main.cpp +++ b/src/utests/main.cpp @@ -28,6 +28,7 @@ #include "biginttest.h" #include "rc4test.h" #include "difflehellmantest.h" +#include using namespace kt; using namespace bt; @@ -38,6 +39,7 @@ using namespace utest; int main(int argc,char** argv) { Globals::instance().setDebugMode(true); + TQFile::remove("ktutester.log"); Globals::instance().initLog("ktutester.log"); TestRunner tr; tr.addTest(new UPnPParseDescriptionTest()); -- cgit v1.2.3