mirror of https://github.com/djcb/mu.git
build: do verbose test upon failure
This commit is contained in:
parent
5417928c1e
commit
5c43a93027
|
@ -36,4 +36,4 @@ jobs:
|
||||||
run: make
|
run: make
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: make test
|
run: make test-verbose-if-fail
|
||||||
|
|
|
@ -38,6 +38,9 @@ check: test
|
||||||
test: all
|
test: all
|
||||||
@cd $(BUILDDIR); $(MESON) test
|
@cd $(BUILDDIR); $(MESON) test
|
||||||
|
|
||||||
|
test-verbose-if-fail: all
|
||||||
|
@cd $(BUILDDIR); $(MESON) test || $(MESON) test --verbose
|
||||||
|
|
||||||
test-valgrind: $(BUILDDIR)
|
test-valgrind: $(BUILDDIR)
|
||||||
@cd $(BUILDDIR); $(MESON) test --wrap='valgrind --leak-check=full --error-exitcode=1'
|
@cd $(BUILDDIR); $(MESON) test --wrap='valgrind --leak-check=full --error-exitcode=1'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue