[PATCH 1/7] srfi-10.test: add missing (test-suite lib) dependency

2023-08-25 Thread Rob Browning
--- test-suite/tests/srfi-10.test | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test-suite/tests/srfi-10.test b/test-suite/tests/srfi-10.test index c379d0bac..bc7a79157 100644 --- a/test-suite/tests/srfi-10.test +++ b/test-suite/tests/srfi-10.test @@ -17,7 +17,9 @@ L

[PATCH 7/7] Switch to the preferred parallel automake test harness

2023-08-25 Thread Rob Browning
Here, this allows make -j4 check to run in about half the time that it does with the deprecated serial harness. --- Makefile.am| 3 --- check-guile.in | 5 +--- configure.ac | 5 +--- test-suite/Makefile.am | 18 - test-suite/driver | 60 ++

[PATCH 3/7] guile-test: set declarative #f to eliminate warning

2023-08-25 Thread Rob Browning
--- test-suite/guile-test | 1 + 1 file changed, 1 insertion(+) diff --git a/test-suite/guile-test b/test-suite/guile-test index 2d4e94171..e0c4333f7 100755 --- a/test-suite/guile-test +++ b/test-suite/guile-test @@ -81,6 +81,7 @@ (apply (module-ref module 'main) args))) (define-module (t

[PATCH 2/7] interp.test: add missing (test-suite lib) dependency

2023-08-25 Thread Rob Browning
--- test-suite/tests/interp.test | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test-suite/tests/interp.test b/test-suite/tests/interp.test index 5f3e2aaf7..7497094a8 100644 --- a/test-suite/tests/interp.test +++ b/test-suite/tests/interp.test @@ -16,6 +16,9 @@ License along with thi

[PATCH 0/7] Allow tests to run in parallel

2023-08-25 Thread Rob Browning
This series switches Guile to the Automake parallel test harness so that commands like "make -j4 check" can run tests concurrently: https://www.gnu.org/software/automake/manual/html_node/Parallel-Test-Harness.html. Here it cuts the check time in half. Right now I just wanted to see if this might

[PATCH 6/7] check-guile.in: exit 2 on errors and direct output to stderr

2023-08-25 Thread Rob Browning
Return 2 rather than 1 for errors so that 1 will be available for any future boolean tests (as with say grep). Direct error message to stderr rather than stdout. --- check-guile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check-guile.in b/check-guile.in index 09d95a

[PATCH 4/7] guile-test: support automake parallel test harness via --trs-file

2023-08-25 Thread Rob Browning
Support an optional --trs-file PATH argument that causes guile-test to write the status information expected by the automake parallel test harness to PATH. In addition, when --trs-file is specified, suppress the final test summary (via print-counts) since it would be repeated per-test-file when ru

[PATCH 5/7] check-guile.in: improve quoting (e.g. paths with spaces)

2023-08-25 Thread Rob Browning
--- check-guile.in | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/check-guile.in b/check-guile.in index 214deec16..09d95a03c 100644 --- a/check-guile.in +++ b/check-guile.in @@ -14,25 +14,22 @@ set -e top_builddir=@top_builddir_absolute@ top_srcdir=@