Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Attempt to Reenable TestInet{EndPoint,LayerDNS} for CI #500

40 changes: 40 additions & 0 deletions .circleci/config.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .circleci/config/jobs/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ environment:
executor: << parameters.builder >>
steps:
- checkout
- run:
name: Enable IPv6
command: |
cat \<<'EOF' | sudo tee /etc/docker/daemon.json
{
"ipv6": true,
"fixed-cidr-v6": "2001:db8:1::/64"
}
EOF
sudo service docker restart
- setup-environment:
builder: << parameters.builder >>
- bootstrap
Expand Down
11 changes: 2 additions & 9 deletions src/inet/tests/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,10 @@ COMMON_LDADD = \
# always be built to ensure overall "build sanity".
#
# These will NOT be part of the externally-consumable binary SDK.
#
# XXX - At this point TestInetEndPoint and TestInetLayerDNS are stranded
# here until a solution for enabling IPv6 on Linux containers for
# Docker on macOS can be resolved as that test involves
# executing APIs that exercise bind, listen, connect, accept,
# etc. on IPv4 and IPv6 IP end points. When that issue has been
# resolved, move these tests to check_PROGRAMS.

noinst_PROGRAMS = \
TestLwIPDNS \
TestInetEndPoint \
TestInetLayer \
TestInetLayerDNS \
TestInetLayerMulticast \
$(NULL)

Expand All @@ -126,7 +117,9 @@ noinst_PROGRAMS = \
check_PROGRAMS = \
TestInetAddress \
TestInetBuffer \
TestInetEndPoint \
TestInetErrorStr \
TestInetLayerDNS \
TestInetTimer \
$(NULL)

Expand Down