Skip to content
Snippets Groups Projects
Commit f5ab9177 authored by Janis Daniel Dähne's avatar Janis Daniel Dähne
Browse files

- the execution of the user program was just fine (the java encoding) but the...

- the execution of the user program was just fine (the java encoding) but the RUNNER was NOT called with utf8 encoding...
parent 8297106a
Branches
No related tags found
No related merge requests found
......@@ -10,5 +10,5 @@
"changeDirIntervalInS": 60,
"maxParallelTests": 10,
"maxNumberOfTestsWithOneRequest": 15,
"runner": "\"C:\\Program Files (x86)\\JetBrains\\IntelliJ IDEA 14.1.4\\jdk1.8.0_65\\bin\\java\" -cp \"C:\\Users\\theju\\Documents\\WebProjects\\SyndromeAll\\DefaultTestRunner\\out\\production\\DefaultTestRunner\" Main"
"runner": "\"C:\\Program Files (x86)\\JetBrains\\IntelliJ IDEA 14.1.4\\jdk1.8.0_65\\bin\\java\" -Dfile.encoding=UTF8 -cp \"C:\\Users\\theju\\Documents\\WebProjects\\SyndromeAll\\DefaultTestRunner\\out\\production\\DefaultTestRunner\" Main"
}
\ No newline at end of file
......@@ -87,6 +87,7 @@ function do_blackBoxTest($mainFileNameWithExtension, $test, $fullWorkingDirPath,
if ($isDebug) {
$time_pre = microtime(true);
}
# without bypass_shell it won't work on windows
$process = proc_open($longCmd, $pipesDescriptor, $pipes, NULL, NULL, array('bypass_shell' => TRUE));
......@@ -123,6 +124,8 @@ function do_blackBoxTest($mainFileNameWithExtension, $test, $fullWorkingDirPath,
);
}
#file_put_contents($fullWorkingDirPath . 'xyz.txt', $output);
return array(
$s_return_val => $return_var,
$s_output => $output
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment