mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
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 <troglobit@gmail.com>
This commit is contained in:
+5
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user