summaryrefslogtreecommitdiff
path: root/src/test/testmain.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-17 01:02:36 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-17 01:38:56 +0300
commit61c92f38a7b9a5b30149bf5ae0cc106abc0482dc (patch)
treec2defab6c6152757ef99013ea226301834a73841 /src/test/testmain.cpp
parentddf7d9970244385eaba19f60c76deeab3f507c29 (diff)
downloadManaVerse-61c92f38a7b9a5b30149bf5ae0cc106abc0482dc.tar.gz
ManaVerse-61c92f38a7b9a5b30149bf5ae0cc106abc0482dc.tar.bz2
ManaVerse-61c92f38a7b9a5b30149bf5ae0cc106abc0482dc.tar.xz
ManaVerse-61c92f38a7b9a5b30149bf5ae0cc106abc0482dc.zip
Fix invoking tests.
Remove shell script for tests.
Diffstat (limited to 'src/test/testmain.cpp')
-rw-r--r--src/test/testmain.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp
index f5bdc5711..eb24a2c75 100644
--- a/src/test/testmain.cpp
+++ b/src/test/testmain.cpp
@@ -29,6 +29,7 @@
#include "utils/gettext.h"
#include "utils/mkdir.h"
#include "utils/stringutils.h"
+#include "utils/paths.h"
#include "utils/process.h"
#include <iostream>
@@ -43,7 +44,7 @@ TestMain::TestMain()
#ifdef WIN32
fileName = "manaplus.exe";
#else
- fileName = selfName;
+ fileName = getSelfName();
#endif
log = new Logger;