diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-17 01:02:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-17 01:38:56 +0300 |
commit | 61c92f38a7b9a5b30149bf5ae0cc106abc0482dc (patch) | |
tree | c2defab6c6152757ef99013ea226301834a73841 /src/test/testmain.cpp | |
parent | ddf7d9970244385eaba19f60c76deeab3f507c29 (diff) | |
download | manaplus-61c92f38a7b9a5b30149bf5ae0cc106abc0482dc.tar.gz manaplus-61c92f38a7b9a5b30149bf5ae0cc106abc0482dc.tar.bz2 manaplus-61c92f38a7b9a5b30149bf5ae0cc106abc0482dc.tar.xz manaplus-61c92f38a7b9a5b30149bf5ae0cc106abc0482dc.zip |
Fix invoking tests.
Remove shell script for tests.
Diffstat (limited to 'src/test/testmain.cpp')
-rw-r--r-- | src/test/testmain.cpp | 3 |
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; |