summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-27 03:58:43 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-27 03:58:43 -0400
commit6b62be59fbb8a0b8fd4274fa46ca7295f1be0919 (patch)
treea14d7a1c3962d901cc26510fbb124380c0181a56 /Makefile.am
parent645e43ef75b1af78ef6a4013684d76fd7d6e7118 (diff)
downloadfork-ledger-6b62be59fbb8a0b8fd4274fa46ca7295f1be0919.tar.gz
fork-ledger-6b62be59fbb8a0b8fd4274fa46ca7295f1be0919.tar.bz2
fork-ledger-6b62be59fbb8a0b8fd4274fa46ca7295f1be0919.zip
Added generate command, --seed, and GenerateTests
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 403a0511..c3bffeab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -65,6 +65,7 @@ libledger_data_la_LDFLAGS = -release $(VERSION).0
libledger_report_la_SOURCES = \
src/quotes.cc \
+ src/generate.cc \
src/derive.cc \
src/emacs.cc \
src/output.cc \
@@ -121,6 +122,7 @@ pkginclude_HEADERS = \
src/chain.h \
src/precmd.h \
src/derive.h \
+ src/generate.h \
src/output.h \
src/emacs.h \
src/quotes.h \
@@ -240,7 +242,7 @@ endif
TESTS =
if HAVE_PYTHON
-TESTS += RegressTests BaselineTests ConfirmTests
+TESTS += RegressTests BaselineTests ConfirmTests GenerateTests
endif
if HAVE_CPPUNIT
@@ -382,6 +384,14 @@ ConfirmTests: $(srcdir)/test/ConfirmTests.py
echo "$(PYTHON) $(srcdir)/test/ConfirmTests.py $(top_builddir)/ledger$(EXEEXT) $(srcdir)/test/input" > $@
chmod 755 $@
+GenerateTests_SOURCES = test/GenerateTests.py
+
+EXTRA_DIST += test/input
+
+GenerateTests: $(srcdir)/test/GenerateTests.py
+ echo "$(PYTHON) $(srcdir)/test/GenerateTests.py $(top_builddir)/ledger$(EXEEXT) $(srcdir)/test/input" > $@
+ chmod 755 $@
+
FULLCHECK=$(srcdir)/test/fullcheck.sh
if HAVE_CPPUNIT