Skip to contentSkip to conversation

travis: don't run t_net.sh test

PATCH In review Antonio Quartulli 2 participants 2 messages Aug 10, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 travis: don't run t_net.sh test

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.

---

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

 .travis.yml | 1 +
 1 file changed, 1 insertion(+)
.travis.yml +1 -0
index 9e374f55..2d379c70 100644
@@ -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
Signature · 1 line
2.28.0
Acked-by on v1 1/1
#1 lore raw

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 <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg20684.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering