summaryrefslogtreecommitdiffstats
path: root/lldb/test/lang/cpp/global_operators/TestCppGlobalOperators.py
diff options
context:
space:
mode:
authorPaul Herman <paulherman@google.com>2015-08-19 22:44:48 +0000
committerPaul Herman <paulherman@google.com>2015-08-19 22:44:48 +0000
commit6e0fe6fbf5e6dd214263b4299361bb983a621684 (patch)
tree70f99018b5e6aea4e2f2a708c61880fc3d98171d /lldb/test/lang/cpp/global_operators/TestCppGlobalOperators.py
parent0d461693b6c7944119d6384d3a38d6c675815317 (diff)
downloadbcm5719-llvm-6e0fe6fbf5e6dd214263b4299361bb983a621684.tar.gz
bcm5719-llvm-6e0fe6fbf5e6dd214263b4299361bb983a621684.zip
Fix tests to work on remote targets.
llvm-svn: 245515
Diffstat (limited to 'lldb/test/lang/cpp/global_operators/TestCppGlobalOperators.py')
-rw-r--r--lldb/test/lang/cpp/global_operators/TestCppGlobalOperators.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/lang/cpp/global_operators/TestCppGlobalOperators.py b/lldb/test/lang/cpp/global_operators/TestCppGlobalOperators.py
index 99be02e1a9e..1145215158b 100644
--- a/lldb/test/lang/cpp/global_operators/TestCppGlobalOperators.py
+++ b/lldb/test/lang/cpp/global_operators/TestCppGlobalOperators.py
@@ -30,7 +30,7 @@ class TestCppGlobalOperators(TestBase):
self.assertTrue(src_file_spec.IsValid(), "Main source file")
# Get the path of the executable
- cwd = self.get_process_working_directory()
+ cwd = os.getcwd()
exe_file = "a.out"
exe_path = os.path.join(cwd, exe_file)
@@ -45,7 +45,7 @@ class TestCppGlobalOperators(TestBase):
# Launch the process
args = None
env = None
- process = target.LaunchSimple(args, env, cwd)
+ process = target.LaunchSimple(args, env, self.get_process_working_directory())
self.assertTrue(process.IsValid(), PROCESS_IS_VALID)
# Get the thread of the process
OpenPOWER on IntegriCloud