summaryrefslogtreecommitdiffstats
path: root/lldb/test/dotest.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/dotest.pl')
-rwxr-xr-xlldb/test/dotest.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/dotest.pl b/lldb/test/dotest.pl
index 7849d8250a1..87dbc37261e 100755
--- a/lldb/test/dotest.pl
+++ b/lldb/test/dotest.pl
@@ -21,9 +21,9 @@ my $testDir = $ARGV[0];
my $dbgPath = "$baseDir/build/Debug/LLDB.framework/Resources/Python";
my $relPath = "$baseDir/build/Release/LLDB.framework/Resources/Python";
if (-d $dbgPath) {
- $ENV{'PYTHONPATH'} = "$dbgPath";
+ $ENV{'PYTHONPATH'} = "$dbgPath:$scriptDir";
} elsif (-d $relPath) {
- $ENV{'PYTHONPATH'} = "$relPath";
+ $ENV{'PYTHONPATH'} = "$relPath:$scriptDir";
}
#print("ENV{PYTHONPATH}=$ENV{'PYTHONPATH'}\n");
OpenPOWER on IntegriCloud