svn commit: trunk/uClibc/test/build

vapier at uclibc.org vapier at uclibc.org
Sun Mar 25 06:08:32 PDT 2007


Author: vapier
Date: 2007-03-25 06:08:31 -0700 (Sun, 25 Mar 2007)
New Revision: 18235

Log:
Paul Brook writes: filter .svn dirs to greatly speed up the file grep test


Modified:
   trunk/uClibc/test/build/check_config_options.sh


Changeset:
Modified: trunk/uClibc/test/build/check_config_options.sh
===================================================================
--- trunk/uClibc/test/build/check_config_options.sh	2007-03-24 22:42:29 UTC (rev 18234)
+++ trunk/uClibc/test/build/check_config_options.sh	2007-03-25 13:08:31 UTC (rev 18235)
@@ -4,14 +4,15 @@
 
 # Make sure nothing uses the ARCH_HAS_MMU option anymore
 result=$(
-grep -rsHI \
-	__ARCH_HAS_MMU__ ../.. \
+find ../.. \
 	| grep -v \
 		-e include/bits/uClibc_config.h \
-		-e test/build/check_config_options.sh \
-		-e /.svn/
+		-e /test/ \
+		-e /.svn/ \
+	| xargs grep -sHI \
+		__ARCH_HAS_MMU__
 )
-if test -n "$result" ; then
+if [ -n "$result" ] ; then
 	echo "The build system is incorrectly using ARCH_HAS_MMU:"
 	echo "$result"
 	ret=1



More information about the uClibc-cvs mailing list