[Lldb-commits] [PATCH] D32522: Test case for the issue raised in D32271

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 26 02:15:08 PDT 2017


labath added a comment.

Thank you for taking the time to add the test.

I'd like to avoid modifying the test framework for the sake of this test, if that is possible.



================
Comment at: packages/Python/lldbsuite/test/lldbtest.py:1487
              'EXE': exe_name}
+        if not os.path.exists(os.path.dirname(exe_name)):
+            if os.path.dirname(exe_name):
----------------
How about you just modify the test to create the directory and copy the file there? That way you will not have to modify the general test framework for a one-off test...


Repository:
  rL LLVM

https://reviews.llvm.org/D32522





More information about the lldb-commits mailing list