[Lldb-commits] [PATCH] D12165: Improve tests regarding imported namespaces and chained calls in C++

Chaoren Lin via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 19 14:57:01 PDT 2015


chaoren requested changes to this revision.
This revision now requires changes to proceed.

================
Comment at: test/lang/cpp/nsimport/TestCppNsImport.py:37
@@ -36,3 +36,3 @@
         # Get the path of the executable
-        cwd = os.getcwd()
+        cwd = self.get_process_working_directory()
         exe_file = "a.out"
----------------
You shouldn't make the change here, since the location of the target binary wrt `CreateTarget` is indeed `os.getcwd()`, but the working directory wrt to `LaunchSimple` could be an arbitrary remote path.


http://reviews.llvm.org/D12165





More information about the lldb-commits mailing list