Makefile.unittest: cleanup may fail. Add '-' in the action.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197777 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2013-12-20 04:20:23 +00:00
parent ff37ddf185
commit e9e7e2cc70

View File

@ -18,7 +18,7 @@ endif
# Clean up out-of-tree stray unittests for Lit not to pick one up.
.PHONY: cleanup-local
cleanup-local:
$(Verb) $(FIND) $(filter-out $(PARALLEL_DIRS), $(wildcard *)) -type f \
-$(Verb) $(FIND) $(filter-out $(PARALLEL_DIRS), $(wildcard *)) -type f \
-path '*/$(BuildMode)/*Tests$(EXEEXT)' \
-exec rm -f '{}' \;