To spare time, we want to get more data immediately from failed tests.
- MAKE=make
- which gmake 2>/dev/null >/dev/null && MAKE=gmake
- $MAKE VERBOSE=1
- - $MAKE VERBOSE=1 check
+ - $MAKE VERBOSE=1 TEST_RETRY_VERBOSE=1 check
# Build docs when tools are available
- if which linuxdoc pdflatex sgmlsasp >/dev/null ; then $MAKE docs ; fi
# Check that the reported version is the right one
$(tests_targets): LIBS += $(DAEMON_LIBS)
$(tests_targets_ok): %.ok: %
- $(Q)$(if $(CROSSBUILD_ARCH),qemu-$(CROSSBUILD_ARCH) )$* 2>/dev/null && touch $*.ok
+ $(Q)$(if $(CROSSBUILD_ARCH),qemu-$(CROSSBUILD_ARCH) )$* 2>/dev/null && touch $*.ok $(if $(TEST_RETRY_VERBOSE), || ($(if $(CROSSBUILD_ARCH),qemu-$(CROSSBUILD_ARCH) )$* -ftv && false))
test: testsclean check
check: tests tests_run
- MAKE=make
- which gmake 2>/dev/null >/dev/null && MAKE=gmake
- $MAKE VERBOSE=1
- - $MAKE VERBOSE=1 check
+ - $MAKE VERBOSE=1 TEST_RETRY_VERBOSE=1 check
# Build docs when tools are available
- if which linuxdoc pdflatex sgmlsasp >/dev/null ; then $MAKE docs ; fi
# Check that the reported version is the right one