diff options
| author | Zachary Turner <zturner@google.com> | 2014-12-19 18:26:33 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2014-12-19 18:26:33 +0000 |
| commit | 54fa73afed47cbd2a901a9037621ae8ace4f8641 (patch) | |
| tree | c1d655ab7575ceb2f5d1f35f16b1b58eb824ddae | |
| parent | e94b0e187005ddbc3e5e8018829fada07379a542 (diff) | |
| download | bcm5719-llvm-54fa73afed47cbd2a901a9037621ae8ace4f8641.tar.gz bcm5719-llvm-54fa73afed47cbd2a901a9037621ae8ace4f8641.zip | |
Don't generate lldb inline test Makefiles if Makefile already exists.
Differential Revision: http://reviews.llvm.org/D6664
Reviewed by: Sean Callanan
llvm-svn: 224593
| -rw-r--r-- | lldb/test/lldbinline.py | 7 |
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 |

