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

- added some comments

parent 403c4b6e
No related branches found
No related tags found
No related merge requests found
......@@ -630,6 +630,7 @@ foreach ($testCases as $test) {
} else {
# Note showTestRunnerDebugOutput this is stored in calling service (part of response)
$showTestRunnerDebugOutput = FALSE;
if (isset($config['showTestRunnerDebugOutput'])) {
$showTestRunnerDebugOutput = $config['showTestRunnerDebugOutput'];
......
......@@ -69,7 +69,7 @@ $config[$s_arg_insertTraceLogs] = $row[$s_arg_insertTraceLogs];
$config['maxNumberOfTestsWithOneRequest'] = $row['maxNumberOfTestsWithOneRequest'];
$config['runner'] = $row['runner'];
$config['showTestRunnerDebugOutput'] = $row['showTestRunnerDebugOutput'] === '1';
$config['showTestRunnerDebugOutput'] = $row['showTestRunnerDebugOutput'] === '1'; # Note showTestRunnerDebugOutput this is stored in calling service (part of response)
$config['environmentVars'] = $row['environmentVars'];
//parse environmentVars
......
......@@ -44,8 +44,7 @@ function do_externalCheckerTest($conn, $traceString, $sourceCode, $mainFileName
global $isDebug;
global $config;
global $s_command_blackBoxTest;
global $s_command_justRunTest;
global $s_command_externalCheckerTest;
global $s_test_content;
global $s_test_allAssets;
global $s_return_val;
......@@ -61,11 +60,7 @@ function do_externalCheckerTest($conn, $traceString, $sourceCode, $mainFileName
global $s_points;
$command_to_execute_string = $s_command_blackBoxTest;
if ($justRun) {
$command_to_execute_string = $s_command_justRunTest;
}
$command_to_execute_string = $s_command_externalCheckerTest;
# compile is done in the runner
......
......@@ -80,6 +80,10 @@ The commands will probably require the users files (code). This files can be acc
* **#9** - all other files (all user files excluding the main file) absolute paths with extension
* **#10** - the max points for the test (one can give more or less points, just as a hint)
- this is normally only set for external checkers, for other test types this contains -1
* **#11** - "true"/"false" if the checker should output the achieved points or not
- default is true, is specified in the test content as `evaluate:true/false`
- only used for external checkers
* **#50** - contains the timeout in ms
* **#51** - contains the memory limit in kb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment