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.

Co-Authored-By: Keith Amidon <kami...@nicira.com>
Signed-off-by: Keith Amidon <kami...@nicira.com>
Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>
---
 debian/rules |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 799bf2e..41c2840 100755
--- a/debian/rules
+++ b/debian/rules
@@ -58,8 +58,11 @@ build-arch-stamp: configure-stamp
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        if $(MAKE) -C _debian check TESTSUITEFLAGS='$(PARALLEL)'; then :; \
        else \
-               cat _debian/tests/testsuite.log; \
-               exit 1; \
+               if $(MAKE) -C _debian check TESTSUITEFLAGS='$(PARALLEL) 
--recheck'; then :; \
+               else \
+                       cat _debian/tests/testsuite.log; \
+                       exit 1; \
+               fi \
        fi
 endif
        touch $@
-- 
1.7.9.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to