[Lldb-commits] [PATCH] Remove autogenerated makefiles after running tests
Pavel Labath
labath at google.com
Wed Feb 4 06:46:38 PST 2015
Hi clayborg, vharron,
Running the test suite leaves about 10 autogenerated Makefiles in the test tree. These files
clobber "git status" output and make general workflow difficult. This commit makes that the
autogenerated Makefiles are deleted after the tests run (unless LLDB_DO_CLEANUP=NO). It also
removes from svn two autogenerated makefiles which have been commited in the past.
http://reviews.llvm.org/D7407
Files:
test/functionalities/data-formatter/setvaluefromcstring/Makefile
test/lang/objc/objc-runtime-ivars/Makefile
test/lldbinline.py
Index: test/functionalities/data-formatter/setvaluefromcstring/Makefile
===================================================================
--- test/functionalities/data-formatter/setvaluefromcstring/Makefile
+++ /dev/null
@@ -1,4 +0,0 @@
-LEVEL = ../../../make
-OBJC_SOURCES := main.m
-include $(LEVEL)/Makefile.rules
-LDFLAGS += -framework Foundation
Index: test/lang/objc/objc-runtime-ivars/Makefile
===================================================================
--- test/lang/objc/objc-runtime-ivars/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-LEVEL = ../../../make
-
-OBJC_SOURCES := main.m
-LDFLAGS = $(CFLAGS) -lobjc -framework Foundation
-
-include $(LEVEL)/Makefile.rules
Index: test/lldbinline.py
===================================================================
--- test/lldbinline.py
+++ test/lldbinline.py
@@ -68,6 +68,10 @@
class InlineTest(TestBase):
# Internal implementation
+ @classmethod
+ def classCleanup(cls):
+ cls.RemoveTempFile("Makefile")
+
def getRerunArgs(self):
# The -N option says to NOT run a if it matches the option argument, so
# if we are using dSYM we say to NOT run dwarf (-N dwarf) and vice versa.
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7407.19316.patch
Type: text/x-patch
Size: 1184 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150204/14e9b10b/attachment.bin>
More information about the lldb-commits
mailing list