summaryrefslogtreecommitdiff
path: root/src/test/testmain.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-07-21 22:03:13 +0300
committerAndrei Karas <akaras@inbox.ru>2012-07-21 22:15:58 +0300
commit0db159ef0f611ba014c59e773a59661b92ab7fde (patch)
tree7fd3b318e213f2172ac6226b8fcc7b1a8db40f4a /src/test/testmain.cpp
parent8e3f06edfa547e4a6f0f03e91e05eb1fdab29464 (diff)
downloadManaVerse-0db159ef0f611ba014c59e773a59661b92ab7fde.tar.gz
ManaVerse-0db159ef0f611ba014c59e773a59661b92ab7fde.tar.bz2
ManaVerse-0db159ef0f611ba014c59e773a59661b92ab7fde.tar.xz
ManaVerse-0db159ef0f611ba014c59e773a59661b92ab7fde.zip
Add support for opening urls in system default browser.
Diffstat (limited to 'src/test/testmain.cpp')
-rw-r--r--src/test/testmain.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp
index bdf071394..07e7a8f01 100644
--- a/src/test/testmain.cpp
+++ b/src/test/testmain.cpp
@@ -260,7 +260,7 @@ int TestMain::invokeTest(std::string test)
mConfig.setValue("opengl", 0);
mConfig.write();
- int ret = execFile(fileName, fileName, "-t", test);
+ int ret = execFileWait(fileName, fileName, "-t", test);
return ret;
}
@@ -277,7 +277,7 @@ int TestMain::invokeSoftwareRenderTest(std::string test)
{
mConfig.setValue("opengl", 0);
mConfig.write();
- int ret = execFile(fileName, fileName, "-t", test, 30);
+ int ret = execFileWait(fileName, fileName, "-t", test, 30);
log->log("%s: %d", test.c_str(), ret);
return ret;
}
@@ -287,7 +287,7 @@ int TestMain::invokeFastOpenGLRenderTest(std::string test)
#if defined USE_OPENGL
mConfig.setValue("opengl", 1);
mConfig.write();
- int ret = execFile(fileName, fileName, "-t", test, 30);
+ int ret = execFileWait(fileName, fileName, "-t", test, 30);
log->log("%s: %d", test.c_str(), ret);
return ret;
#else
@@ -300,7 +300,7 @@ int TestMain::invokeSafeOpenGLRenderTest(std::string test)
#if defined USE_OPENGL
mConfig.setValue("opengl", 2);
mConfig.write();
- int ret = execFile(fileName, fileName, "-t", test, 30);
+ int ret = execFileWait(fileName, fileName, "-t", test, 30);
log->log("%s: %d", test.c_str(), ret);
return ret;
#else