summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2010-07-06 02:26:35 +0200
committerDenys Vlasenko2010-07-06 02:26:35 +0200
commit3e5fa43b2faba827e44f184818534b476ec0ed09 (patch)
treeb0d5841adcbdb6e28163fb59bd7eb99247479b92
parentee1f19b9425a8a0d5b9cc5c037b18278df07ee3e (diff)
downloadbusybox-3e5fa43b2faba827e44f184818534b476ec0ed09.zip
busybox-3e5fa43b2faba827e44f184818534b476ec0ed09.tar.gz
scripts/randomtest: update to pass testsuite with Rob's toolchain
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-xscripts/randomtest14
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