Skip to content

Commit 482eb4b

Browse files
committed
pass autotest directory to helper
1 parent 22241b8 commit 482eb4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def run_helper(tests, parameters, args):
4242
source = f.read(MAX_FILE_SIZE)
4343
except OSError:
4444
return
45-
4645
helper_info = {
4746
"test_label": test.label,
4847
"stdin": stdin,
@@ -51,7 +50,8 @@ def run_helper(tests, parameters, args):
5150
"expected_stdout": expected_stdout,
5251
"file": filename,
5352
"source": source,
54-
}
53+
"autotest_directory": args.autotest_directory,
54+
}
5555
for k, v in helper_info.items():
5656
os.environ["HELPER_" + k.upper()] = v
5757
os.environ["HELPER_JSON"] = json.dumps(helper_info, separators=(",", ":"))

0 commit comments

Comments
 (0)