diff options
-rw-r--r-- | Makefile.am | 22 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rwxr-xr-x | fullcheck | 15 |
3 files changed, 23 insertions, 17 deletions
diff --git a/Makefile.am b/Makefile.am index 502e263c..df89eff0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -442,20 +442,14 @@ RegressionTests: $(srcdir)/test/regress.py echo "$(PYTHON) $(srcdir)/test/regress.py $(top_builddir)/ledger$(EXEEXT) $(srcdir)/test/regress" > $@ chmod 755 $@ -if HAVE_VALGRIND -VALGRIND = valgrind -else -VALGRIND = -endif - -fullcheck: check - MallocGuardEdges=1 \ - MallocScribble=1 \ - MallocPreScribble=1 \ - MallocCheckHeapStart=100 \ - MallocCheckHeapEach=100 \ - DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib \ - $(VALGRIND) $(top_builddir)/UnitTests$(EXEEXT) --verify +fullcheck: $(TESTS) + sh fullcheck $(top_builddir)/util_tests$(EXEEXT) --verify + sh fullcheck $(top_builddir)/math_tests$(EXEEXT) --verify + sh fullcheck $(top_builddir)/expr_tests$(EXEEXT) --verify + sh fullcheck $(top_builddir)/data_tests$(EXEEXT) --verify + sh fullcheck $(top_builddir)/parse_tests$(EXEEXT) --verify + sh fullcheck $(top_builddir)/report_tests$(EXEEXT) --verify + sh fullcheck $(top_builddir)/extra_tests$(EXEEXT) --verify ###################################################################### diff --git a/configure.ac b/configure.ac index d7eddf99..46d2e13c 100644 --- a/configure.ac +++ b/configure.ac @@ -19,9 +19,6 @@ AC_PROG_MAKE_SET AC_PROG_LIBTOOL AM_PROG_LIBTOOL -AC_CHECK_PROG([VALGRIND_TEST], [valgrind], [true], [false]) -AM_CONDITIONAL(HAVE_VALGRIND, test x$VALGRIND_TEST = xtrue) - # Checks for emacs lisp path AM_PATH_LISPDIR diff --git a/fullcheck b/fullcheck new file mode 100755 index 00000000..5763278c --- /dev/null +++ b/fullcheck @@ -0,0 +1,15 @@ +#!/bin/sh + +VALGRIND='' +if [ -x /usr/bin/valgrind ]; then + VALGRIND=valgrind +fi + +export MallocGuardEdges=1 +export MallocScribble=1 +export MallocPreScribble=1 +export MallocCheckHeapStart=100 +export MallocCheckHeapEach=100 +export DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib + +exec $VALGRIND $@ |