From 510d1837350aee0818106a3c9661ba86b40b66a7 Mon Sep 17 00:00:00 2001 From: ph10 Date: Fri, 17 Jan 2014 17:50:51 +0000 Subject: Fix bug in tests when 16/32 bits and --enable-bsr-anycrlf are both set. Extend pcretest to show the \R default. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1450 2f5784b3-3f2a-0410-8824-cb99058d5e15 --- maint/ManyConfigTests | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'maint') diff --git a/maint/ManyConfigTests b/maint/ManyConfigTests index b08495c..d9c3ae0 100755 --- a/maint/ManyConfigTests +++ b/maint/ManyConfigTests @@ -39,7 +39,7 @@ if [ $? -eq 0 ] && grep GCC zzz >/dev/null; then ISGCC="yes" CFLAGS="$CFLAGS -Wall" CFLAGS="$CFLAGS -Wno-overlength-strings" - CFLAGS="$CFLAGS -Wpointer-arith" + CFLAGS="$CFLAGS -Wpointer-arith" CFLAGS="$CFLAGS -Wwrite-strings" CFLAGS="$CFLAGS -Wundef -Wshadow" CFLAGS="$CFLAGS -Wextra -Wformat" @@ -50,7 +50,7 @@ if [ $? -eq 0 ] && grep GCC zzz >/dev/null; then CFLAGS="$CFLAGS -Wuninitialized" CFLAGS="$CFLAGS -Wmissing-prototypes" CFLAGS="$CFLAGS -Wstrict-prototypes" -fi +fi # This function runs a single test with the set of configuration options that @@ -59,7 +59,7 @@ fi function runtest() { rm -f *_unittest - testcount=`expr $testcount + 1` + testcount=`expr $testcount + 1` if [ "$opts" = "" ] ; then echo "[$testcount/$testtotal] Configuring with: default settings" @@ -70,7 +70,7 @@ function runtest() CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" \ $srcdir/configure $opts >/dev/null 2>teststderr - + if [ $? -ne 0 ]; then echo " " echo "**** Error while configuring ****" @@ -83,7 +83,7 @@ function runtest() if [ $? -ne 0 -o -s teststderr ]; then echo " " echo "**** Errors or warnings while making ****" - echo " " + echo " " cat teststderr exit 1 fi @@ -189,9 +189,9 @@ if [ "$ISGCC" = "yes" ]; then echo "Maximally configured test with -O2" SAVECLFAGS="$CFLAGS" CFLAGS="$CFLAGS -O2" - opts="--disable-shared --enable-unicode-properties --enable-jit --enable-pcre16 --enable-pcre32" + opts="--disable-shared --enable-unicode-properties --enable-jit --enable-pcre16 --enable-pcre32" runtest - CFLAGS="$SAVECFLAGS" + CFLAGS="$SAVECFLAGS" fi echo "General tests in the current directory" @@ -230,7 +230,8 @@ for opts in \ "--enable-pcre32 --enable-unicode-properties --disable-stack-for-recursion --disable-shared" \ "--enable-pcre32 --enable-jit --enable-unicode-properties --with-link-size=4 --disable-shared" \ "--enable-pcre32 --enable-pcre16 --disable-shared" \ - "--enable-pcre32 --enable-pcre16 --disable-pcre8 --disable-shared" + "--enable-pcre32 --enable-pcre16 --disable-pcre8 --disable-shared" \ + "--enable-pcre32 --enable-pcre16 --disable-pcre8 --enable-jit --enable-unicode-properties --enable-newline-is-anycrlf --enable-bsr-anycrlf --disable-shared" do runtest done -- cgit v1.2.1