Make RunTest check stack settablility using the -bigstack value.

This commit is contained in:
Philip.Hazel 2018-12-07 16:32:05 +00:00
parent 0448b486e9
commit ed63958dad
2 changed files with 4 additions and 1 deletions

View File

@ -97,6 +97,9 @@ known to work (currently only Linux) try to run this test.
descriptors instead of redirecting stderr to stdout. This worked on Linux, but
it was reported not to on other systems, causing the tests to fail.
25. In the RunTest script, make the test for stack setting use the same value
for the stack as it needs for -bigstack.
Version 10.32 10-September-2018
-------------------------------

View File

@ -319,7 +319,7 @@ fi
# If it is possible to set the system stack size and -bigstack was given,
# set up a large stack.
$sim ./pcre2test -S 1 /dev/null /dev/null
$sim ./pcre2test -S 64 /dev/null /dev/null
if [ $? -eq 0 -a "$bigstack" != "" ] ; then
setstack="-S 64"
else