[libxslt] Run general tests with maxdepth=200



commit 7ad34c2b2dff7bf679b2cb4ea470b2f1e8c3a5ee
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Wed Oct 25 18:29:14 2017 +0200

    Run general tests with maxdepth=200
    
    Otherwise, the stack could overflow on platforms with a small default
    stack size like Windows or with sanitizers that increase stack usage.

 tests/general/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/general/Makefile.am b/tests/general/Makefile.am
index 467b050..8a56b7f 100644
--- a/tests/general/Makefile.am
+++ b/tests/general/Makefile.am
@@ -219,7 +219,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc
          name=`basename $$j .xsl`; \
          out=$(srcdir)/"$$name".out; \
          err=$(srcdir)/"$$name".err; \
-         log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc $$j $$i \
+         log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc --maxdepth 200 $$j $$i \
                > result.$$name 2>err.$$name; \
          if [ ! -f $$out ] ; then \
                cp result.$$name $$out ; \
@@ -251,7 +251,7 @@ test tests: $(top_builddir)/xsltproc/xsltproc
          name=`basename $$j .xsl`; \
          out=$(srcdir)/"$$name".out; \
          err=$(srcdir)/"$$name".err; \
-         log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc --nodict $$j $$i \
+         log=`$(CHECKER) $(top_builddir)/xsltproc/xsltproc --nodict --maxdepth 200 $$j $$i \
                > result.$$name 2>err.$$name; \
          if [ ! -f $$out ] ; then \
                cp result.$$name $$out ; \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]