summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-01-24 23:33:06 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-01-24 23:33:06 +0100
commit2315c8854c2be911283c5b4b7eb3f37332758abb (patch)
tree9ba57cf0baf9144929c274c33a3ec1d3a36c1350
parent6b01b71e8370c58787318d5fca06db2074f95c55 (diff)
scripts/randomtest: tweaks for non-eliminable warnings and broken static glibc
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-xscripts/randomtest11
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/randomtest b/scripts/randomtest
index a7a20250d..2a30cb638 100755
--- a/scripts/randomtest
+++ b/scripts/randomtest
@@ -28,15 +28,18 @@ cat .config \
| grep -v CONFIG_WERROR \
| cat >.config.new
mv .config.new .config
-echo CONFIG_WERROR=y >>.config
+#echo CONFIG_WERROR=y >>.config
+echo '# CONFIG_WERROR is not set' >>.config
test "$libc" = glibc && {
cat .config \
-| grep -v ^CONFIG_SELINUX= \
-| grep -v ^CONFIG_EFENCE= \
-| grep -v ^CONFIG_DMALLOC= \
+| grep -v CONFIG_STATIC \
+| grep -v CONFIG_SELINUX \
+| grep -v CONFIG_EFENCE \
+| grep -v CONFIG_DMALLOC \
| cat >.config.new
mv .config.new .config
+echo '# CONFIG_STATIC is not set' >>.config
}
test "$libc" = uclibc && {