Skip to content

Commit 53d390b

Browse files
Merge pull request #37 from COMP1511UNSW/dylanb/fix-generate_expected_output-1
Fix dcc_output_checking again
2 parents 8d57087 + 9193206 commit 53d390b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

run_tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from parse_test_specification import output_file_without_parameters
77
from util import die
88
from command_line_arguments import REPO
9+
from parameter_descriptions import finalize_dcc_output_checking
910

1011
# necessary for typehinting
1112
from typing import Dict, List, Any, Union
@@ -598,7 +599,7 @@ def print_expected_output(tests: Dict[str, _Test], args: Namespace, file) -> Non
598599
test.parameters["max_real_seconds"] = 1000000000
599600
test.parameters["max_cpu_seconds"] = 1000000000
600601
# override dcc output checking
601-
test.parameters["dcc_output_checking"] = False
602+
finalize_dcc_output_checking("dcc_output_checking", False, test.parameters)
602603

603604
run_one_test(test, file=dev_null)
604605
if not hasattr(test, "stdout"):

0 commit comments

Comments
 (0)