mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
test: Return fail if make test fails
$? needs to be $$? inside a make rule to expand the bash variable.
This commit is contained in:
+1
-1
@@ -30,7 +30,7 @@ endif
|
||||
|
||||
test:
|
||||
$(test-dir)/env -r $(base) $(mode) $(binaries) $(pkg-$(ARCH)) \
|
||||
sh -c '$(ninepm) -v $(TESTS); rc=$?; \
|
||||
sh -c '$(ninepm) -v $(TESTS); rc=$$?; \
|
||||
$(ninepm_report) github $(test-dir)/.log/last/result.json; \
|
||||
$(ninepm_report) asciidoc $(test-dir)/.log/last/result.json; \
|
||||
chmod -R 777 $(test-dir)/.log; \
|
||||
|
||||
Reference in New Issue
Block a user