diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-25 10:14:14 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-06-30 16:08:12 +0900 |
| commit | 7e90bb1967477b331f134e27d6f0ea4cc69ffb0a (patch) | |
| tree | d84a9a28035f9d9f86a76dfdb41e7a35fe2ca381 /src/utests/main.cpp | |
| parent | f95d80e61e0b55201184b844cbf059efc574c2f0 (diff) | |
| download | ktorrent-7e90bb19.tar.gz ktorrent-7e90bb19.zip | |
Add cmake rules for utests and fix tester program
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit edc958f6e74feb036c90bfa55f40df1c55c37153)
Diffstat (limited to 'src/utests/main.cpp')
| -rw-r--r-- | src/utests/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 <tqfile.h> 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()); |
