summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/testmain.cpp2
-rw-r--r--src/utils/process.h14
2 files changed, 10 insertions, 6 deletions
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp
index 0d75cae7b..945aec73b 100644
--- a/src/test/testmain.cpp
+++ b/src/test/testmain.cpp
@@ -344,7 +344,7 @@ int TestMain::invokeTest(const std::string &test)
mConfig.setValue("opengl", CAST_S32(RENDER_SOFTWARE));
mConfig.write();
- const int ret = execFileWait(fileName, fileName, "-t", test);
+ const int ret = execFileWait(fileName, fileName, "-t", test, 0);
return ret;
}
diff --git a/src/utils/process.h b/src/utils/process.h
index bf622c15b..cbb0f73b7 100644
--- a/src/utils/process.h
+++ b/src/utils/process.h
@@ -23,12 +23,16 @@
#include <string>
-int execFileWait(const std::string &pathName, const std::string &name,
- const std::string &arg1, const std::string &arg2,
- int waitTime = 0);
+int execFileWait(const std::string &pathName,
+ const std::string &name,
+ const std::string &arg1,
+ const std::string &arg2,
+ int waitTime);
-bool execFile(const std::string &pathName, const std::string &name,
- const std::string &arg1, const std::string &arg2);
+bool execFile(const std::string &pathName,
+ const std::string &name,
+ const std::string &arg1,
+ const std::string &arg2);
bool openBrowser(std::string url);