aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2020-02-07 11:24:38 +0100
committerRaphael Isemann <teemperor@gmail.com>2020-02-07 11:24:52 +0100
commit68cc9f80a6bfd7b88a761d29c757d0ec6544e126 (patch)
treeb53eb276132519a466e8459fd6dfe0633edeabe3 /lldb/packages/Python/lldbsuite/test
parent9d869180c4adba42d68c14dab51fba8093ccf91c (diff)
downloadllvm-68cc9f80a6bfd7b88a761d29c757d0ec6544e126.zip
llvm-68cc9f80a6bfd7b88a761d29c757d0ec6544e126.tar.gz
llvm-68cc9f80a6bfd7b88a761d29c757d0ec6544e126.tar.bz2
[lldb] Remove all 'clean' targets from test Makefiles
Summary: To my knowledge we don't actually use or need these rules. And if we need them then there is probably a better way to implement this than having all these random regexes. Reviewers: labath, JDevlieghere Reviewed By: labath, JDevlieghere Subscribers: jingham, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D74126
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile3
-rw-r--r--lldb/packages/Python/lldbsuite/test/commands/expression/call-function/Makefile3
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile3
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile3
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/memory-region/Makefile3
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile4
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/target_var/Makefile3
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile4
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile2
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile4
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile3
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile2
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/Makefile2
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile2
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile4
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile4
-rw-r--r--lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile3
-rw-r--r--lldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/Makefile4
-rw-r--r--lldb/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile3
-rw-r--r--lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile3
-rw-r--r--lldb/packages/Python/lldbsuite/test/macosx/universal/Makefile3
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/Makefile4
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/formatters/Makefile4
-rw-r--r--lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile3
-rw-r--r--lldb/packages/Python/lldbsuite/test/source-manager/Makefile4
25 files changed, 0 insertions, 80 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile b/lldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile
index 8176721..de4ec12 100644
--- a/lldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/api/multithreaded/Makefile
@@ -2,6 +2,3 @@ ENABLE_THREADS := YES
CXX_SOURCES := main.cpp
include Makefile.rules
-
-clean::
- rm -rf $(wildcard *.o *.d *.dSYM)
diff --git a/lldb/packages/Python/lldbsuite/test/commands/expression/call-function/Makefile b/lldb/packages/Python/lldbsuite/test/commands/expression/call-function/Makefile
index 31f2d5e..99998b2 100644
--- a/lldb/packages/Python/lldbsuite/test/commands/expression/call-function/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/commands/expression/call-function/Makefile
@@ -1,6 +1,3 @@
CXX_SOURCES := main.cpp
include Makefile.rules
-
-clean::
- rm -rf $(wildcard *.o *.d *.dSYM)
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile
index 7c6a18b..1c42301c 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/comp_dir_symlink/Makefile
@@ -7,6 +7,3 @@ include Makefile.rules
# Force relative filenames by copying it into the build directory.
relative.cpp: main.cpp
cp -f $< $@
-
-clean::
- rm -rf relative.cpp
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile
index 3767ff1..7bc4d866 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/synthupdate/Makefile
@@ -3,6 +3,3 @@ CFLAGS_EXTRAS := -w
LD_EXTRAS := -framework Foundation
include Makefile.rules
-
-clean::
- rm -rf $(wildcard *.o *.d *.dSYM *.log)
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/memory-region/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/memory-region/Makefile
index 31f2d5e..99998b2 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/memory-region/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/memory-region/Makefile
@@ -1,6 +1,3 @@
CXX_SOURCES := main.cpp
include Makefile.rules
-
-clean::
- rm -rf $(wildcard *.o *.d *.dSYM)
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile
index fd44eb4..dee13db 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/cross_dso/Makefile
@@ -11,7 +11,3 @@ lib_One: lib_Two
lib_%:
$(MAKE) VPATH=$(SRCDIR)/$* -I $(SRCDIR) -f $(SRCDIR)/$*.mk DSYMUTIL=$(DSYMUTIL)
-
-clean::
- $(MAKE) -f $(SRCDIR)/One.mk clean
- $(MAKE) -f $(SRCDIR)/Two.mk clean
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/target_var/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/target_var/Makefile
index 806c967..e51de3a 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/target_var/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/target_var/Makefile
@@ -3,6 +3,3 @@ include Makefile.rules
a.out: globals.ll
$(CC) $(CFLAGS) -g -c $^ -o globals.o
$(LD) $(LDFLAGS) -g globals.o -o $@
-
-clean::
- rm -rf globals.o a.out *.dSYM
diff --git a/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile b/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile
index 59778ab..81594a1 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Makefile
@@ -8,7 +8,3 @@ a.out: lib_One lib_Two
lib_%:
$(MAKE) VPATH=$(SRCDIR)/$* -I $(SRCDIR) -f $(SRCDIR)/$*.mk
-
-clean::
- $(MAKE) -f $(SRCDIR)/One.mk clean
- $(MAKE) -f $(SRCDIR)/Two.mk clean
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile
index 64fd6ef..80865c0c 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/char1632_t/Makefile
@@ -1,6 +1,4 @@
CXX_SOURCES := main.cpp
CFLAGS :=-g -O0 -std=c++11
-clean: OBJECTS+=$(wildcard main.d.*)
-
include Makefile.rules
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile
index a02c72a..e891bb2 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/enum_types/Makefile
@@ -2,8 +2,4 @@ CXX_SOURCES := main.cpp
CXXFLAGS_EXTRAS := -std=c++11
-clean: OBJECTS+=$(wildcard main.d.*)
-
-
-
include Makefile.rules
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile
index 31f2d5e..99998b2 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/overriden-methods/Makefile
@@ -1,6 +1,3 @@
CXX_SOURCES := main.cpp
include Makefile.rules
-
-clean::
- rm -rf $(wildcard *.o *.d *.dSYM)
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile
index a4b03ae..4617d67 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/stl/Makefile
@@ -1,6 +1,4 @@
CXX_SOURCES := main.cpp
CFLAGS := -g -O0
-clean: OBJECTS+=$(wildcard main.d.*)
-
include Makefile.rules
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/Makefile
index bf443d8..f7370ec 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/unicode-literals/Makefile
@@ -1,6 +1,4 @@
CXX_SOURCES := main.cpp
CFLAGS := -g -O0 -std=c++11
-clean: OBJECTS+=$(wildcard main.d.*)
-
include Makefile.rules
diff --git a/lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile b/lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile
index a4b03ae..4617d67 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/lang/cpp/wchar_t/Makefile
@@ -1,6 +1,4 @@
CXX_SOURCES := main.cpp
CFLAGS := -g -O0
-clean: OBJECTS+=$(wildcard main.d.*)
-
include Makefile.rules
diff --git a/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile
index a218ce3..0aaa021 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-stripped/Makefile
@@ -6,8 +6,4 @@ all: a.out.stripped
a.out.stripped: a.out.dSYM
strip -o a.out.stripped a.out
-clean::
- rm -f a.out.stripped
- rm -rf a.out.stripped.dSYM
-
include Makefile.rules
diff --git a/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile
index 0ad7e35..ed31293 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/lang/objc/objc-static-method-stripped/Makefile
@@ -7,8 +7,4 @@ a.out.stripped: a.out.dSYM
strip -o a.out.stripped a.out
ln -sf a.out.dSYM a.out.stripped.dSYM
-clean::
- rm -f a.out.stripped
- rm -rf $(wildcard *.dSYM)
-
include Makefile.rules
diff --git a/lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile b/lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile
index 98042d6..b10a038 100644
--- a/lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile
@@ -6,7 +6,4 @@ all: stripped.out
stripped.out : a.out
$(OBJCOPY) --remove-section=.note.gnu.build-id --remove-section=.gnu_debuglink --strip-debug $< $@
-clean::
- $(RM) stripped.out
-
include Makefile.rules
diff --git a/lldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/Makefile b/lldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/Makefile
index 4f3dd56..d7a69c7 100644
--- a/lldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/linux/mix-dwo-and-regular-objects/Makefile
@@ -2,7 +2,3 @@ C_SOURCES := a.c b.c
a.o: CFLAGS_EXTRAS := -gsplit-dwarf
include Makefile.rules
-
-.PHONY: clean
-clean::
- $(RM) -f a.dwo a.o b.o main
diff --git a/lldb/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile b/lldb/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile
index a290c8c..a1b84c1 100644
--- a/lldb/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile
@@ -13,7 +13,4 @@ dirsymlink: dirreal
mkdir $@
ln -s ../$</stripped.out $@/stripped.symlink
-clean::
- $(RM) -r dirreal dirsymlink
-
include Makefile.rules
diff --git a/lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile b/lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile
index 68012d2..9b1c15b 100644
--- a/lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/macosx/find-app-in-bundle/Makefile
@@ -15,6 +15,3 @@ TestApp.app/Contents/MacOS/TestApp: $(SRCDIR)/main.c
cp -r $(SRCDIR)/TestApp.app .
mv TestApp TestApp.app/Contents/MacOS/TestApp
mv TestApp.dSYM TestApp.app.dSYM
-
-clean:
- rm -rf TestApp.app/Contents/MacOS/TestApp TestApp.app.dSYM
diff --git a/lldb/packages/Python/lldbsuite/test/macosx/universal/Makefile b/lldb/packages/Python/lldbsuite/test/macosx/universal/Makefile
index efdeb1f..7105181 100644
--- a/lldb/packages/Python/lldbsuite/test/macosx/universal/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/macosx/universal/Makefile
@@ -18,6 +18,3 @@ testit.x86_64h.o: main.c
testit.x86_64.o: main.c
$(CC) -g -O0 -arch x86_64 -c -o testit.x86_64.o $<
-
-clean::
- rm -rf $(wildcard testit* *~)
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/Makefile
index 33da5d06..65e9dd2 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/python_api/findvalue_duplist/Makefile
@@ -2,7 +2,3 @@ CXX_SOURCES := main.cpp
include Makefile.rules
-# Clean renamed executable on 'make clean'
-clean::
- $(RM) -f no_synth
-
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/formatters/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/formatters/Makefile
index 16a8232..99998b2 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/formatters/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/python_api/formatters/Makefile
@@ -1,7 +1,3 @@
CXX_SOURCES := main.cpp
include Makefile.rules
-
-# Clean renamed executable on 'make clean'
-clean::
- $(RM) -f no_synth
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile
index b525656..99998b2 100644
--- a/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_persist/Makefile
@@ -1,6 +1,3 @@
CXX_SOURCES := main.cpp
-# Clean renamed executable on 'make clean'
-clean: OBJECTS+=no_synth
-
include Makefile.rules
diff --git a/lldb/packages/Python/lldbsuite/test/source-manager/Makefile b/lldb/packages/Python/lldbsuite/test/source-manager/Makefile
index a78dc11..422ecd0 100644
--- a/lldb/packages/Python/lldbsuite/test/source-manager/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/source-manager/Makefile
@@ -5,7 +5,3 @@ include Makefile.rules
# Copy file into the build folder to enable the test to modify it.
main-copy.c: main.c
cp -f $< $@
-
-
-clean::
- $(RM) main-copy.c