Make RunTest check stack settablility using the -bigstack value.
This commit is contained in:
parent
0448b486e9
commit
ed63958dad
|
@ -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
|
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.
|
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
|
Version 10.32 10-September-2018
|
||||||
-------------------------------
|
-------------------------------
|
||||||
|
|
2
RunTest
2
RunTest
|
@ -319,7 +319,7 @@ fi
|
||||||
# If it is possible to set the system stack size and -bigstack was given,
|
# If it is possible to set the system stack size and -bigstack was given,
|
||||||
# set up a large stack.
|
# 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
|
if [ $? -eq 0 -a "$bigstack" != "" ] ; then
|
||||||
setstack="-S 64"
|
setstack="-S 64"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue