[cfe-commits] r55019 - /cfe/trunk/test/Makefile

Daniel Dunbar daniel at zuster.org
Tue Aug 19 17:44:39 PDT 2008

Thanks Eli,

I'm no find whiz, I just assumed it was standard. It was just there so that
./ didn't show up as a test directory. In the end it shouldn't matter because
there are no test files in ./

If we care maybe -mindepth 1 should do the same thing (I believe), does
and is at least present on my linux machine.

 - Daniel

----- Original Message ----
From: Eli Friedman <eli.friedman at gmail.com>
To: cfe-commits at cs.uiuc.edu
Sent: Tuesday, August 19, 2008 5:02:02 PM
Subject: [cfe-commits] r55019 - /cfe/trunk/test/Makefile

Author: efriedma
Date: Tue Aug 19 19:02:01 2008
New Revision: 55019

URL: http://llvm.org/viewvc/llvm-project?rev=55019&view=rev
Get rid of the bogus -depth +0 argument; I really have no clue what the 
heck it does on Darwin, but it's not part of POSIX, and the GNU version 
of find errors out on it.

On a side note, there are a couple of new failures due to tests 
including OS X specific headers.


Modified: cfe/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Makefile?rev=55019&r1=55018&r2=55019&view=diff

--- cfe/trunk/test/Makefile (original)
+++ cfe/trunk/test/Makefile Tue Aug 19 19:02:01 2008
@@ -2,7 +2,7 @@
include $(LEVEL)/Makefile.common

# Test in all non .svn or Output directories below this one.
-TESTDIRS = $(shell find . -name .svn -prune -or -name Output -prune -or -type d -depth +0 -print)
+TESTDIRS = $(shell find . -name .svn -prune -o -name Output -prune -o -type d -print)

# Only run rewriter tests on darwin.
ifeq ($(OS),Darwin)

cfe-commits mailing list
cfe-commits at cs.uiuc.edu

More information about the cfe-commits mailing list