svn commit: trunk/uClibc/test: build
vapier at uclibc.org
vapier at uclibc.org
Wed Mar 1 01:37:30 UTC 2006
Author: vapier
Date: 2006-02-28 17:37:27 -0800 (Tue, 28 Feb 2006)
New Revision: 14379
Log:
start of test suite to catch errors in source code
Added:
trunk/uClibc/test/build/
trunk/uClibc/test/build/Makefile
trunk/uClibc/test/build/check_config_options.sh
Changeset:
Added: trunk/uClibc/test/build/Makefile
===================================================================
--- trunk/uClibc/test/build/Makefile 2006-03-01 01:36:39 UTC (rev 14378)
+++ trunk/uClibc/test/build/Makefile 2006-03-01 01:37:27 UTC (rev 14379)
@@ -0,0 +1,4 @@
+# uClibc build tests
+# Licensed under the GNU Library General Public License, see COPYING.LIB
+
+include ../Test.mak
Added: trunk/uClibc/test/build/check_config_options.sh
===================================================================
--- trunk/uClibc/test/build/check_config_options.sh 2006-03-01 01:36:39 UTC (rev 14378)
+++ trunk/uClibc/test/build/check_config_options.sh 2006-03-01 01:37:27 UTC (rev 14379)
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# Make sure nothing uses the ARCH_HAS_MMU option anymore
+ret=$(
+grep -rHI \
+ __ARCH_HAS_MMU__ ../.. \
+ | grep -v \
+ -e include/bits/uClibc_config.h \
+ -e test/build/check_config_options.sh
+)
+if test -n "$ret" ; then
+ echo "The build system is incorrectly using ARCH_HAS_MMU:"
+ echo "$ret"
+fi
+
+exit 0
More information about the uClibc-cvs
mailing list