[llvm] r197777 - Makefile.unittest: cleanup may fail. Add '-' in the action.
NAKAMURA Takumi
geek4civic at gmail.com
Thu Dec 19 20:20:23 PST 2013
Author: chapuni
Date: Thu Dec 19 22:20:23 2013
New Revision: 197777
URL: http://llvm.org/viewvc/llvm-project?rev=197777&view=rev
Log:
Makefile.unittest: cleanup may fail. Add '-' in the action.
Modified:
llvm/trunk/unittests/Makefile.unittest
Modified: llvm/trunk/unittests/Makefile.unittest
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Makefile.unittest?rev=197777&r1=197776&r2=197777&view=diff
==============================================================================
--- llvm/trunk/unittests/Makefile.unittest (original)
+++ llvm/trunk/unittests/Makefile.unittest Thu Dec 19 22:20:23 2013
@@ -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 '{}' \;
More information about the llvm-commits
mailing list