build: do verbose test upon failure
This commit is contained in:
2
.github/workflows/build-and-test.yml
vendored
2
.github/workflows/build-and-test.yml
vendored
@ -36,4 +36,4 @@ jobs:
|
||||
run: make
|
||||
|
||||
- name: test
|
||||
run: make test
|
||||
run: make test-verbose-if-fail
|
||||
|
||||
@ -38,6 +38,9 @@ check: test
|
||||
test: all
|
||||
@cd $(BUILDDIR); $(MESON) test
|
||||
|
||||
test-verbose-if-fail: all
|
||||
@cd $(BUILDDIR); $(MESON) test || $(MESON) test --verbose
|
||||
|
||||
test-valgrind: $(BUILDDIR)
|
||||
@cd $(BUILDDIR); $(MESON) test --wrap='valgrind --leak-check=full --error-exitcode=1'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user