From bca81c5a18e442767b4e08c2e73daadeaaa3e24d Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Tue, 26 Jan 2016 01:15:57 +0000 Subject: Fix the lldbinline tests so they make well-formed Makefiles. lldbinline tests previously did not run correctly unless there was already a Makefile for them. This was because the syntax of the emitted Makefile made the default make rule be the "cleanup" rule, which is pretty unhelpful. Now the default rule is the one included from Makefile.rules, which is much better. llvm-svn: 258763 --- lldb/packages/Python/lldbsuite/test/lldbinline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/packages/Python/lldbsuite/test') diff --git a/lldb/packages/Python/lldbsuite/test/lldbinline.py b/lldb/packages/Python/lldbsuite/test/lldbinline.py index abde6e790de..6e339f62d08 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbinline.py +++ b/lldb/packages/Python/lldbsuite/test/lldbinline.py @@ -116,8 +116,8 @@ class InlineTest(TestBase): if ('CXX_SOURCES' in list(categories.keys())): makefile.write("CXXFLAGS += -std=c++11\n") - makefile.write("\ncleanup:\n\trm -f Makefile *.d\n\n") makefile.write("include $(LEVEL)/Makefile.rules\n") + makefile.write("\ncleanup:\n\trm -f Makefile *.d\n\n") makefile.flush() makefile.close() -- cgit v1.2.3