svn commit: trunk/uClibc/test/build

vapier at uclibc.org vapier at uclibc.org
Wed Mar 1 23:27:15 UTC 2006


Author: vapier
Date: 2006-03-01 15:27:13 -0800 (Wed, 01 Mar 2006)
New Revision: 14408

Log:
fix test failure pointed out by nightly build

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	2006-03-01 22:54:48 UTC (rev 14407)
+++ trunk/uClibc/test/build/check_config_options.sh	2006-03-01 23:27:13 UTC (rev 14408)
@@ -1,16 +1,20 @@
 #!/bin/sh
 
+ret=0
+
 # Make sure nothing uses the ARCH_HAS_MMU option anymore
-ret=$(
-grep -rHI \
+result=$(
+grep -rsHI \
 	__ARCH_HAS_MMU__ ../.. \
 	| grep -v \
 		-e include/bits/uClibc_config.h \
-		-e test/build/check_config_options.sh
+		-e test/build/check_config_options.sh \
+		-e /.svn/
 )
-if test -n "$ret" ; then
+if test -n "$result" ; then
 	echo "The build system is incorrectly using ARCH_HAS_MMU:"
-	echo "$ret"
+	echo "$result"
+	ret=1
 fi
 
-exit 0
+exit $ret




More information about the uClibc-cvs mailing list