summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/test/lldbinline.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/test/lldbinline.py b/lldb/test/lldbinline.py
index 868b695eadf..37c57f39e88 100644
--- a/lldb/test/lldbinline.py
+++ b/lldb/test/lldbinline.py
@@ -67,6 +67,9 @@ class CommandParser:
return
def BuildMakefile(mydir):
+ if os.path.exists("Makefile"):
+ return
+
categories = {}
for f in os.listdir(os.getcwd()):
@@ -98,8 +101,8 @@ def BuildMakefile(mydir):
makefile.close()
def CleanMakefile():
- if (os.path.isfile("Makefile")):
- os.unlink("Makefile")
+ # Do nothing for now, since the Makefile on disk could be checked into the repo.
+ pass
class InlineTest(TestBase):
# Internal implementation
OpenPOWER on IntegriCloud