From 98aee0837e29686932f358f30a62db3431659bca Mon Sep 17 00:00:00 2001 From: Sungkeun Cho Date: Tue, 27 Oct 2020 11:11:04 -0700 Subject: [PATCH] [infer] Fix `make clean` of ObjC frontend test Summary: The `make clean` did not remove objects and dot files, so ``` infer/tests/codetoanalyze/objc/frontend$ make test infer/tests/codetoanalyze/objc/frontend$ make clean infer/tests/codetoanalyze/objc/frontend$ make test ``` the second `make test` did nothing. This diff adds additional regular expressions to clean all objects and dot files generated. Reviewed By: ngorogiannis Differential Revision: D24566169 fbshipit-source-id: b8c50c922 --- infer/tests/codetoanalyze/objc/frontend/arc/Makefile | 2 ++ infer/tests/codetoanalyze/objc/frontend/noarc/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/infer/tests/codetoanalyze/objc/frontend/arc/Makefile b/infer/tests/codetoanalyze/objc/frontend/arc/Makefile index 8419370a4..1700f1005 100644 --- a/infer/tests/codetoanalyze/objc/frontend/arc/Makefile +++ b/infer/tests/codetoanalyze/objc/frontend/arc/Makefile @@ -23,3 +23,5 @@ SOURCES = \ include $(TESTS_DIR)/clang-frontend.make include $(TESTS_DIR)/objc.make + +CLEAN_EXTRA += *.o ../*/*.test.dot ../*/*/*.test.dot diff --git a/infer/tests/codetoanalyze/objc/frontend/noarc/Makefile b/infer/tests/codetoanalyze/objc/frontend/noarc/Makefile index f7199f987..d60887dec 100644 --- a/infer/tests/codetoanalyze/objc/frontend/noarc/Makefile +++ b/infer/tests/codetoanalyze/objc/frontend/noarc/Makefile @@ -61,3 +61,5 @@ SOURCES = \ include $(TESTS_DIR)/clang-frontend.make include $(TESTS_DIR)/objc.make + +CLEAN_EXTRA += *.o ../*/*.test.dot ../*/*/*.test.dot