diff options
author | Ben Pfaff <blp@ovn.org> | 2016-02-24 15:42:24 -0800 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2016-02-24 15:46:09 -0800 |
commit | 0d3f215202191016792b9c7c37d6a6b7e2d57234 (patch) | |
tree | 3c253601c8499dccc2db3ae7b040cca4a1fb6db0 /xenserver | |
parent | db6e138362b805e87e2d99853e2771b8d9d7953d (diff) | |
download | openvswitch-0d3f215202191016792b9c7c37d6a6b7e2d57234.tar.gz |
tests: Add ability to automatically rerun failed tests.
A lot of packaging was doing this already, so this simplifies their
implementation.
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Andy Zhou <azhou@ovn.org>
Diffstat (limited to 'xenserver')
-rw-r--r-- | xenserver/openvswitch-xen.spec.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xenserver/openvswitch-xen.spec.in b/xenserver/openvswitch-xen.spec.in index 8bc4a2c36..313dc4ccd 100644 --- a/xenserver/openvswitch-xen.spec.in +++ b/xenserver/openvswitch-xen.spec.in @@ -162,8 +162,7 @@ install -d -m 755 $RPM_BUILD_ROOT/var/lib/openvswitch %check %if %{with check} - if make check TESTSUITEFLAGS='%{_smp_mflags}' || - make check TESTSUITEFLAGS='--recheck'; then :; + if make check TESTSUITEFLAGS='%{_smp_mflags}' RECHECK=yes; then :; else cat tests/testsuite.log exit 1 |