Skip to content
Snippets Groups Projects
Commit 8ec11808 authored by Jonas's avatar Jonas
Browse files

Updated Main and Testmanager

parent 401326ac
No related merge requests found
File mode changed from 100644 to 100755
......@@ -123,9 +123,11 @@ public class Configurator {
return;
}
Runtime oRuntime = Runtime.getRuntime();
//TODO launch compiler
try {
Process oTestCaseCompiler = Runtime.getRuntime().exec("dotnet " + m_sTestManagerPath + " " + m_aCompilerArgs[0] + " " + m_aCompilerArgs[1]);
Process oTestCaseCompiler = oRuntime.exec("dotnet " + m_sTestManagerPath + " " + m_aCompilerArgs[0] + " " + m_aCompilerArgs[1]);
BufferedReader oOutput = new BufferedReader(new InputStreamReader(oTestCaseCompiler.getInputStream()));
String sOutput = null;
while ((sOutput = oOutput.readLine()) != null) {
......@@ -137,8 +139,8 @@ public class Configurator {
//TODO launch test manager
try {
Process oChMod = Runtime.getRuntime().exec("chmod u+x"+ m_sTestManagerPath);
Process oTestManager = Runtime.getRuntime().exec(m_sTestManagerPath);
Process oChMod = oRuntime.exec("chmod u+x"+ m_sTestManagerPath);
Process oTestManager = oRuntime.exec(m_sTestManagerPath);
BufferedReader oOutput = new BufferedReader(new InputStreamReader(oTestManager.getInputStream()));
String sOutput = null;
while ((sOutput = oOutput.readLine()) != null) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment