From 89f0cbc7e0aba2cf15b3d7f9b444e00509e85dd4 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 7 Jun 2010 04:52:08 -0400 Subject: Added a 'speedtest' Makefile target --- tools/Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tools') diff --git a/tools/Makefile.am b/tools/Makefile.am index b08d489d..42e6a1af 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -529,4 +529,13 @@ report: all genhtml -o doc/report doc/report/ledger_cov.info @echo Coverage reported generated\; now open doc/report/index.html +LEDGER_BINARY = $(top_builddir)/ledger$(EXEEXT) +SPEEDTEST_DAT = $(srcdir)/test/input/speed-test.dat +SPEEDTEST_ARGS = -v --decimal-comma -o /dev/null reg 2eb75f84 1eede0cb + +speedtest: + @$(LEDGER_BINARY) -f $(SPEEDTEST_DAT) $(SPEEDTEST_ARGS) + @$(LEDGER_BINARY) -f $(SPEEDTEST_DAT) $(SPEEDTEST_ARGS) -V + @$(LEDGER_BINARY) -f $(SPEEDTEST_DAT) $(SPEEDTEST_ARGS) -X € + # Makefile.am ends here -- cgit v1.2.3