From f4d9bb68982d0320e6c8c3b1cafc2c22128ebee2 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Fri, 23 Jan 2026 07:30:12 +0100 Subject: [PATCH] test: run 9pm report tool inside container Ensure the 9pm report tool runs inside the container so that it has permissions to write to the test/.log directory. Then mark the log directory as 777 when done so the ghmoon 'git clean -ffdx' can clean it up when switching between jobs. Signed-off-by: Joachim Wiberg --- test/test.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/test.mk b/test/test.mk index ba4b7293..0e8c528f 100644 --- a/test/test.mk +++ b/test/test.mk @@ -29,9 +29,11 @@ export INFAMY_ARGS := --transport=netconf endif test: - $(test-dir)/env -r $(base) $(mode) $(binaries) $(pkg-$(ARCH)) $(ninepm) -v $(TESTS) - $(ninepm_report) github $(test-dir)/.log/last/result.json - $(ninepm_report) asciidoc $(test-dir)/.log/last/result.json + $(test-dir)/env -r $(base) $(mode) $(binaries) $(pkg-$(ARCH)) \ + sh -c '$(ninepm) -v $(TESTS); \ + $(ninepm_report) github $(test-dir)/.log/last/result.json; \ + $(ninepm_report) asciidoc $(test-dir)/.log/last/result.json; \ + chmod -R 777 $(test-dir)/.log' test-sh: $(test-dir)/env $(base) $(mode) $(binaries) $(pkg-$(ARCH)) -i /bin/sh