test: render PDF report via 9pm report.py

The test-report target fed a pre-baked report.adoc to asciidoctor-pdf.
Let 9pm's report.py, the author of result.json, both generate and
render the report instead.  It is invoked with Infix's own theme, fonts
and logo so the output is unchanged; downstream projects need only
override LOGO to rebrand it.

Signed-off-by: Richard Alpe <richard@bit42.se>
This commit is contained in:
Richard Alpe
2026-06-12 15:38:24 +02:00
parent 187c19639f
commit 76c314a23a
+5 -4
View File
@@ -57,10 +57,11 @@ test-spec:
-o $(test-specification) $(spec-dir)/Readme.adoc
test-report:
asciidoctor-pdf --theme $(spec-dir)/theme.yml \
-a logo="image:$(LOGO)" \
-a pdf-fontsdir=$(spec-dir)/fonts \
-o $(test-report) $(test-dir)/.log/last/report.adoc
$(ninepm_report) pdf $(test-dir)/.log/last/result.json \
--theme $(spec-dir)/theme.yml \
--fontsdir $(spec-dir)/fonts \
--logo "$(LOGO)" \
-o $(test-report)
# Unit tests run with random (-r) hostname and container name to
# prevent race conditions when running in CI environments.