From 3d2d40667d9c0a0f7d2db2bed03e2a75ff5b35ef Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Sat, 28 Mar 2026 10:03:43 -0500 Subject: [PATCH] Add a unified test runner for better test output. --- Makefile | 4 ++-- tests/runner.nim | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 tests/runner.nim diff --git a/Makefile b/Makefile index 57782fb..27cb0b8 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,8 @@ docs: doc/vcard/vcard.html .PHONY: test test: - #@for t in $(TESTS); do $$t; done - nimble --warning:BareExcept:off test + nimble c tests/runner.nim + ./tests/runner .PHONY: install install: test diff --git a/tests/runner.nim b/tests/runner.nim new file mode 100644 index 0000000..17992d3 --- /dev/null +++ b/tests/runner.nim @@ -0,0 +1 @@ +import ./[tlexer, tvcard3, tvcard4]