[git commit master 1/1] scripts/randomtest: update to pass testsuite with Rob's toolchain

Denys Vlasenko vda.linux at googlemail.com
Tue Jul 6 00:26:35 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=3e5fa43b2faba827e44f184818534b476ec0ed09
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 scripts/randomtest |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/scripts/randomtest b/scripts/randomtest
index 8d0d79e..a102593 100755
--- a/scripts/randomtest
+++ b/scripts/randomtest
@@ -43,6 +43,10 @@ mv .config.new .config
 echo '# CONFIG_DEBUG_PESSIMIZE is not set' >>.config
 echo '# CONFIG_WERROR is not set' >>.config
 echo "CONFIG_CROSS_COMPILER_PREFIX=\"${CROSS_COMPILER_PREFIX}\"" >>.config
+echo '# CONFIG_SELINUX is not set' >>.config
+echo '# CONFIG_EFENCE is not set' >>.config
+echo '# CONFIG_DMALLOC is not set' >>.config
+echo '# CONFIG_RFKILL is not set' >>.config
 
 # If glibc, don't build static
 if test x"$LIBC" = x"glibc"; then
@@ -53,18 +57,21 @@ if test x"$LIBC" = x"glibc"; then
 	echo '# CONFIG_STATIC is not set' >>.config
 fi
 
-# If glibc, build static, and remove some things
+# If uclibc, build static, and remove some things
 # likely to not work on uclibc.
 if test x"$LIBC" = x"uclibc"; then
 	cat .config \
 	| grep -v CONFIG_STATIC \
 	| grep -v CONFIG_BUILD_LIBBUSYBOX \
-	| grep -v CONFIG_TASKSET \
-	| grep -v CONFIG_UNICODE_SUPPORT \
 	| grep -v CONFIG_PIE \
+	\
+	| grep -v CONFIG_FEATURE_2_4_MODULES \
 	>.config.new
 	mv .config.new .config
 	echo 'CONFIG_STATIC=y' >>.config
+	echo '# CONFIG_BUILD_LIBBUSYBOX is not set' >>.config
+	echo '# CONFIG_PIE is not set' >>.config
+	echo '# CONFIG_FEATURE_2_4_MODULES is not set' >>.config
 fi
 
 # If STATIC, remove some things.
@@ -75,6 +82,7 @@ if grep -q "^CONFIG_STATIC=y" .config; then
 	| grep -v CONFIG_PAM \
 	>.config.new
 	mv .config.new .config
+	echo '# CONFIG_PAM is not set' >>.config
 fi
 
 # Regenerate .config with default answers for yanked-off options
-- 
1.7.1



More information about the busybox-cvs mailing list