mirror of
https://gitlab.torproject.org/tpo/core/debian/tor.git
synced 2026-01-11 20:06:38 +00:00
test-network-run: refactor away test_network_ipv6
This should be a pure refactor to simplify the logic a bit now that we no longer probe for IPv6 support.
This commit is contained in:
parent
3e54c985a2
commit
08e872ef51
1 changed files with 3 additions and 14 deletions
17
Makefile.am
17
Makefile.am
|
|
@ -399,19 +399,9 @@ test-network-run: need-chutney-path test-driver $(TESTING_TOR_BINARY) src/tools/
|
|||
echo "Running IPv4 flavors: $(ipv4_flavors)."; \
|
||||
flavors="$$flavors $(ipv4_flavors)"; \
|
||||
fi; \
|
||||
test_network_ipv6=false; \
|
||||
if test -n "$(ipv6_flavors)" || \
|
||||
test -n "$(ipv6_mixed_flavors)"; then \
|
||||
test_network_ipv6=true; \
|
||||
fi; \
|
||||
if test -n "$(ipv6_flavors)"; then \
|
||||
if test "$$test_network_ipv6" = "true"; then \
|
||||
echo "Running IPv6 flavors: $(ipv6_flavors)."; \
|
||||
flavors="$$flavors $(ipv6_flavors)"; \
|
||||
else \
|
||||
echo "Skipping IPv6 flavors: $(ipv6_flavors)."; \
|
||||
skip_flavors="$$skip_flavors $(ipv6_flavors)"; \
|
||||
fi; \
|
||||
echo "Running IPv6 flavors: $(ipv6_flavors)."; \
|
||||
flavors="$$flavors $(ipv6_flavors)"; \
|
||||
fi; \
|
||||
test_network_mixed=false; \
|
||||
if test -n "$(mixed_flavors)" || \
|
||||
|
|
@ -432,8 +422,7 @@ test-network-run: need-chutney-path test-driver $(TESTING_TOR_BINARY) src/tools/
|
|||
fi; \
|
||||
fi; \
|
||||
if test -n "$(ipv6_mixed_flavors)"; then \
|
||||
if test "$$test_network_ipv6" = "true" && \
|
||||
test "$$test_network_mixed" = "true"; then \
|
||||
if test "$$test_network_mixed" = "true"; then \
|
||||
echo "Running IPv6 mixed flavors:" \
|
||||
"$(ipv6_mixed_flavors)."; \
|
||||
flavors="$$flavors $(ipv6_mixed_flavors)"; \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue