summaryrefslogtreecommitdiff
path: root/maint
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2014-01-17 17:50:51 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2014-01-17 17:50:51 +0000
commit510d1837350aee0818106a3c9661ba86b40b66a7 (patch)
treee8b1db3de3bf3367e9ab6b1e520b4ef08a303dfe /maint
parent5fd8da4b6c81a9afd0cc0186644cda8268012e7b (diff)
downloadpcre-510d1837350aee0818106a3c9661ba86b40b66a7.tar.gz
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
Diffstat (limited to 'maint')
-rwxr-xr-xmaint/ManyConfigTests17
1 files changed, 9 insertions, 8 deletions
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