From f31187d31be0303c3844186ec01cb8fc819addf5 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 6 Sep 2004 14:05:06 +0000 Subject: [PATCH] integrated to "make valgrind", heavy ... weight 250MB of VM ! Daniel * xstc/Makefile.am Makefile.am: integrated to "make valgrind", heavy ... weight 250MB of VM ! Daniel --- ChangeLog | 5 +++++ Makefile.am | 2 +- xstc/Makefile.am | 11 ++++++++--- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 50b681e7..6b423af9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Sep 6 16:04:01 CEST 2004 Daniel Veillard + + * xstc/Makefile.am Makefile.am: integrated to "make valgrind", + heavy ... weight 250MB of VM ! + Mon Sep 6 14:54:39 CEST 2004 Daniel Veillard * xstc/Makefile.am xstc/xstc-to-python.xsl xstc/xstc.py Makefile.am: diff --git a/Makefile.am b/Makefile.am index dff4d679..d031b9c0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -970,7 +970,7 @@ SchemasPythonTests: echo "## It is normal to see 6 errors reported" ; \ $(CHECKER) $(PYTHON) $(srcdir)/check-xsddata-test-suite.py ; \ fi) - @(if [ -x $(PYTHON) -a -d xstc ] ; then cd xstc ; $(MAKE) MAKEFLAGS+=--silent pytests ; fi) + @(if [ -x $(PYTHON) -a -d xstc ] ; then cd xstc ; $(MAKE) CHECKER=$(CHECKER) MAKEFLAGS+=--silent pytests ; fi) cleanup: -@(find . -name .\#\* -exec rm {} \;) diff --git a/xstc/Makefile.am b/xstc/Makefile.am index 10f359f4..99dd9f71 100644 --- a/xstc/Makefile.am +++ b/xstc/Makefile.am @@ -43,22 +43,27 @@ pytests: $(PYSCRIPTS) $(TESTDIRS) echo "## Running NIST Schemas tests"; \ PYTHONPATH="$$PYTHONPATH:../python:../python/.libs:..:../libs" ;\ export PYTHONPATH; \ - ./nist-test.py -s -b $(srcdir) ; fi) + $(CHECKER) $(PYTHON) nist-test.py -s -b $(srcdir) ; fi) -@(if [ -x sun-test.py -a -d suntest ] ; then \ echo "## Running Sun Schemas tests"; \ PYTHONPATH="$$PYTHONPATH:../python:../python/.libs:..:../libs" ;\ export PYTHONPATH; \ - ./sun-test.py -s -b $(srcdir) ; fi) + $(CHECKER) $(PYTHON) sun-test.py -s -b $(srcdir) ; fi) -@(if [ -x ms-test.py -a -d msxsdtest ] ; then \ echo "## Running Microsoft Schemas tests"; \ PYTHONPATH="$$PYTHONPATH:../python:../python/.libs:..:../libs" ;\ export PYTHONPATH; \ - ./ms-test.py -s -b $(srcdir) ; fi) + $(CHECKER) $(PYTHON) ms-test.py -s -b $(srcdir) ; fi) tests: -@(if [ -x $(PYTHON) ] ; then \ $(MAKE) MAKEFLAGS+=--silent pytests ; fi); +valgrind: + -@(if [ -x $(PYTHON) ] ; then \ + echo '## Running the regression tests under Valgrind' ; \ + $(MAKE) CHECKER='valgrind -q' MAKEFLAGS+=--silent pytests ; fi); + clean: rm -f $(PYSCRIPTS) test.log