From 3e5fa43b2faba827e44f184818534b476ec0ed09 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 6 Jul 2010 02:26:35 +0200 Subject: [PATCH] scripts/randomtest: update to pass testsuite with Rob's toolchain Signed-off-by: Denys Vlasenko --- scripts/randomtest | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/scripts/randomtest b/scripts/randomtest index 8d0d79e64..a102593d3 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 -- 2.25.1