Permalink
Browse files

Travis: Skip TCP bind test because of missing IPv6 support

  • Loading branch information...
lluchs committed Sep 24, 2018
1 parent 82feac4 commit 05e36484955e95f6d20d9bc7d36253a506965147
Showing with 7 additions and 1 deletion.
  1. +2 −1 .travis.yml
  2. +5 −0 tests/C4NetIOTest.cpp
View
@@ -64,7 +64,8 @@ before_script:
script:
- ${BSYS/*#/} all netpuncher tests aul_test
- ./tests/tests
# TODO: Remove SKIP_IPV6_TEST once Travis generally adds ::1 as loopback address.
- SKIP_IPV6_TEST=1 ./tests/tests
- ./tests/aul_test
after_success:
View
@@ -88,6 +88,11 @@ TEST_F(C4NetIOTest, HostAddressCategories)
// Tests C4NetIOTCP::Bind
TEST_F(C4NetIOTest, TCPBind)
{
if (getenv("SKIP_IPV6_TEST")) {
printf("Skipping C4NetIOTest.TCPBind...\n");
return;
}
C4NetIOTCP NetIO;
ASSERT_TRUE(NetIO.Init());

0 comments on commit 05e3648

Please sign in to comment.