diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-01 21:18:09 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-01 21:18:09 -0500 |
commit | 46a419a5dabcc6b02231f12357b20f70a14cfe63 (patch) | |
tree | 1022e239f4725562f1fef97c5cb7394d53dab38b /tools | |
parent | 6538a2d1b8630d2a8224e517bf35ce51ab561d3a (diff) | |
download | fork-ledger-46a419a5dabcc6b02231f12357b20f70a14cfe63.tar.gz fork-ledger-46a419a5dabcc6b02231f12357b20f70a14cfe63.tar.bz2 fork-ledger-46a419a5dabcc6b02231f12357b20f70a14cfe63.zip |
Added DocTests to verify documentation examples
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile.am | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index 13ea4e7f..d84229f4 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -247,7 +247,7 @@ endif TESTS = if HAVE_PYTHON -TESTS += RegressTests BaselineTests ConfirmTests GenerateTests +TESTS += RegressTests BaselineTests DocTests ConfirmTests GenerateTests endif if HAVE_CPPUNIT @@ -381,6 +381,14 @@ BaselineTests: $(srcdir)/test/RegressTests.py echo "$(PYTHON) $(srcdir)/test/RegressTests.py $(top_builddir)/ledger$(EXEEXT) $(srcdir)/test/baseline \"\$$@\"" > $@ chmod 755 $@ +DocTests_SOURCES = test/RegressTests.py + +EXTRA_DIST += test/doc + +DocTests: $(srcdir)/test/RegressTests.py + echo "$(PYTHON) $(srcdir)/test/RegressTests.py $(top_builddir)/ledger$(EXEEXT) $(srcdir)/test/doc \"\$$@\"" > $@ + chmod 755 $@ + ConfirmTests_SOURCES = test/ConfirmTests.py EXTRA_DIST += test/input @@ -424,10 +432,12 @@ endif fullcheck: cppunittests @$(top_builddir)/RegressTests --verify @$(top_builddir)/BaselineTests --verify + @$(top_builddir)/DocTests --verify @$(top_builddir)/ConfirmTests --verify @$(top_builddir)/GenerateTests --verify @$(top_builddir)/RegressTests --gmalloc @$(top_builddir)/BaselineTests --gmalloc + @$(top_builddir)/DocTests --gmalloc # @$(top_builddir)/ConfirmTests --gmalloc # @$(top_builddir)/GenerateTests --gmalloc |