commit 1bd7021bd91928609892f3b11b4ca92c7a2ee67c parent 9dfa3ba2539ca9ad6485a0d57e1c9af6095d3242 Author: Mario Rosell R. Martinez <mario@mariorosell.es> Date: Mon, 6 Apr 2026 20:22:20 +0200 oops Diffstat:
| M | .gitignore | | | 2 | +- |
| A | tests/run-tests.sh | | | 14 | ++++++++++++++ |
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore @@ -2,7 +2,7 @@ *.swo a.out thumbs.db -tests +tests/tests *.o .DS_Store diff --git a/tests/run-tests.sh b/tests/run-tests.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# +# run-tests.sh -- test runner +# + +if ! [ -f "./tests" ]; then + make +fi + +LOGIN="$1" +PASS="$2" + +NNTP_USER="$LOGIN" NNTP_PASS="$PASS" ./tests +