From b8cc2c18d9bc0292626a6b84e76fb39c1cd4b757 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 4 Feb 2024 15:25:15 +0200 Subject: Add `make test`, refactor tests --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a390386..766801a 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ Note: on some systems you need to set `PKG_CONFIG_PATH` to a path that contains Install dependencies, build and install to your preferred location: make deps + make test # optionally run tests make dynamic # or make static PREFIX=$HOME/.local/bin/ make install @@ -31,9 +32,10 @@ See `desmoctl help`. Run the tool in the interpreter: - # Set DEBUG=1 to show debug prints - # Set INLINE_TESTS=1 to run unit tests before execution (not available when compiled) - csi -s run.scm + csi -s run.scm # run CLI + csi -s test.scm # run unit tests + +In my workflow, loading `desmoctl.scm` to a long-lived REPL is pretty convenient. ## Copyright -- cgit v1.3