| 141 |
# builds both) to save a bit of time by building only one version of the |
# builds both) to save a bit of time by building only one version of the |
| 142 |
# library for the subsequent tests. |
# library for the subsequent tests. |
| 143 |
|
|
| 144 |
|
valgrind= |
| 145 |
|
cvalgrind= |
| 146 |
|
withvalgrind= |
| 147 |
|
|
| 148 |
echo "Tests in the current directory" |
echo "Tests in the current directory" |
| 149 |
srcdir=. |
srcdir=. |
| 150 |
for opts in \ |
for opts in \ |
| 163 |
"--enable-utf8 --enable-newline-is-any --enable-unicode-properties --disable-stack-for-recursion --disable-static --disable-cpp" \ |
"--enable-utf8 --enable-newline-is-any --enable-unicode-properties --disable-stack-for-recursion --disable-static --disable-cpp" \ |
| 164 |
"--enable-jit --disable-shared" \ |
"--enable-jit --disable-shared" \ |
| 165 |
"--enable-jit --enable-unicode-properties --disable-shared" \ |
"--enable-jit --enable-unicode-properties --disable-shared" \ |
| 166 |
"--enable-jit --enable-unicode-properties --with-link-size=3 --disable-shared" |
"--enable-jit --enable-unicode-properties --with-link-size=3 --disable-shared" \ |
| 167 |
|
"--enable-pcre16" \ |
| 168 |
|
"--enable-pcre16 --enable-jit --enable-utf --disable-shared" \ |
| 169 |
|
"--enable-pcre16 --enable-jit --enable-unicode-properties --disable-shared" \ |
| 170 |
|
"--enable-pcre16 --enable-jit --disable-pcre8 --disable-shared" \ |
| 171 |
|
"--enable-pcre16 --enable-jit --disable-pcre8 --enable-utf --disable-shared" \ |
| 172 |
|
"--enable-pcre16 --disable-stack-for-recursion --disable-shared" \ |
| 173 |
|
"--enable-pcre16 --enable-unicode-properties --disable-stack-for-recursion --disable-shared" |
| 174 |
do |
do |
| 175 |
runtest |
runtest |
| 176 |
done |
done |
| 185 |
for opts in \ |
for opts in \ |
| 186 |
"--enable-unicode-properties --disable-stack-for-recursion --disable-shared" \ |
"--enable-unicode-properties --disable-stack-for-recursion --disable-shared" \ |
| 187 |
"--enable-unicode-properties --with-link-size=3 --disable-shared" \ |
"--enable-unicode-properties --with-link-size=3 --disable-shared" \ |
| 188 |
"--enable-jit --enable-unicode-properties --disable-shared" |
"--enable-jit --enable-unicode-properties --disable-shared" \ |
| 189 |
|
"--enable-pcre16 --enable-jit --enable-unicode-properties --disable-shared" |
| 190 |
do |
do |
| 191 |
runtest |
runtest |
| 192 |
done |
done |
| 193 |
|
|
| 194 |
|
valgrind= |
| 195 |
|
cvalgrind= |
| 196 |
|
withvalgrind= |
| 197 |
|
|
| 198 |
# Clean up the distribution and then do at least one build and test in a |
# Clean up the distribution and then do at least one build and test in a |
| 199 |
# directory other than the source directory. It doesn't work unless the |
# directory other than the source directory. It doesn't work unless the |
| 200 |
# source directory is cleaned up first - and anyway, it's best to leave it |
# source directory is cleaned up first. |
|
# in a clean state after all this reconfiguring. |
|
| 201 |
|
|
| 202 |
if [ -f Makefile ]; then |
if [ -f Makefile ]; then |
| 203 |
echo "Running 'make distclean'" |
echo "Running 'make distclean'" |