summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am9
1 files changed, 9 insertions, 0 deletions
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