diff --git a/bin/tests/system/start.pl b/bin/tests/system/start.pl index 20e8bdc82b..35a7efe690 100755 --- a/bin/tests/system/start.pl +++ b/bin/tests/system/start.pl @@ -324,7 +324,7 @@ sub construct_ans_command { } if (-e "$testdir/$server/ans.py") { - $ENV{'PYTHONPATH'} = $testdir . ":" . $ENV{'srcdir'}; + $ENV{'PYTHONPATH'} = $testdir . ":" . $builddir; $command = "$PYTHON -u ans.py 10.53.0.$n $queryport"; } elsif (-e "$testdir/$server/ans.pl") { $command = "$PERL ans.pl";