diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-21 22:03:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-21 22:15:58 +0300 |
commit | 0db159ef0f611ba014c59e773a59661b92ab7fde (patch) | |
tree | 7fd3b318e213f2172ac6226b8fcc7b1a8db40f4a /src/test/testmain.cpp | |
parent | 8e3f06edfa547e4a6f0f03e91e05eb1fdab29464 (diff) | |
download | mv-0db159ef0f611ba014c59e773a59661b92ab7fde.tar.gz mv-0db159ef0f611ba014c59e773a59661b92ab7fde.tar.bz2 mv-0db159ef0f611ba014c59e773a59661b92ab7fde.tar.xz mv-0db159ef0f611ba014c59e773a59661b92ab7fde.zip |
Add support for opening urls in system default browser.
Diffstat (limited to 'src/test/testmain.cpp')
-rw-r--r-- | src/test/testmain.cpp | 8 |
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 |