From ae0890f51a2e312f8ce159d34c646af91e762ecf Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 29 Jan 2015 18:41:08 +0100 Subject: Pass auxiliary code to fix in monkey.test --- monkey/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'monkey/test.py') diff --git a/monkey/test.py b/monkey/test.py index f8264b0..01caf08 100755 --- a/monkey/test.py +++ b/monkey/test.py @@ -72,7 +72,7 @@ if len(sys.argv) >= 3 and sys.argv[2] == 'test': print(colored('Analyzing program {0}/{1}…'.format(i+1, len(incorrect)), 'yellow')) print(indent(compose(*decompose(program)), 2)) - solution, steps, fix_time, n_tested = fix(problem.name, program, edits, timeout=timeout) + solution, steps, fix_time, n_tested = fix(problem.name, program, edits, aux_code=aux_code, timeout=timeout) if solution: done.append(program) print_hint(solution, steps, fix_time, n_tested) -- cgit v1.2.1