Skip to content

Commit

Permalink
debian: Re-run failed unit tests once.
Browse files Browse the repository at this point in the history
There are always a few unit tests that have some race conditions
that cause them to occasionally fail. It is probably a good idea
to re-run the failed tests once while building deb packages.

Signed-off-by: Gurucharan Shetty <[email protected]>
Co-authored-by: Keith Amidon <[email protected]>
Signed-off-by: Keith Amidon <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
shettyg and Keith Amidon committed Jun 24, 2014
1 parent c620aaa commit 90d7383
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ build-arch: build-arch-stamp
build-arch-stamp: configure-stamp
$(MAKE) -C _debian
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
if $(MAKE) -C _debian check TESTSUITEFLAGS='$(PARALLEL)'; then :; \
if $(MAKE) -C _debian check TESTSUITEFLAGS='$(PARALLEL)' || \
$(MAKE) -C _debian check TESTSUITEFLAGS='--recheck'; then :; \
else \
cat _debian/tests/testsuite.log; \
exit 1; \
Expand Down

0 comments on commit 90d7383

Please sign in to comment.