[Openvpn-devel] travis: don't run t_net.sh test

Message ID 20200810161723.25576-1-a@unstable.cc
State Accepted
Headers show
Series
  • [Openvpn-devel] travis: don't run t_net.sh test
Related show

Commit Message

Antonio Quartulli Aug. 10, 2020, 4:17 p.m.
Not all travis instances are fit for running t_net.sh test due to
various configurations knob that we have no access to.

Prevent failures by not running t_net.sh on travis at all.
The t_net.sh is executed by other test rigs which we have more control
over.

The test is skipped by specifying RUN_SUDO=false which will make any
pre-test fail, forcing the Makefile to skip that particular test.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
---

Tested on travis:
https://travis-ci.org/github/OpenVPN/openvpn/builds/716605942

 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

Comments

Gert Doering Aug. 10, 2020, 4:34 p.m. | #1
Acked-by: Gert Doering <gert@greenie.muc.de>

Haven't tested, but this looks a reasonable workaround for
"dummy.ko is not available on Travis, and t_net.sh will
always fail, without any informational value"

Your patch has been applied to the master branch.

commit feacd01c584898977c3450bf48d1ea5cbb9029f1
Author: Antonio Quartulli
Date:   Mon Aug 10 18:17:23 2020 +0200

     travis: don't run t_net.sh test

     Signed-off-by: Antonio Quartulli <a@unstable.cc>
     Acked-by: Gert Doering <gert@greenie.muc.de>
     Message-Id: <20200810161723.25576-1-a@unstable.cc>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20684.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>


--
kind regards,

Gert Doering

Patch

diff --git a/.travis.yml b/.travis.yml
index 9e374f55..2d379c70 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,7 @@  language: c
 env:
   global:
     - JOBS=3
+    - RUN_SUDO="false"
     - PREFIX="${HOME}/opt"
     - TAP_WINDOWS_VERSION=9.23.3
     - LZO_VERSION=2.10