aboutsummaryrefslogtreecommitdiff
path: root/tests/resolv.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-11-21 14:33:35 -0800
committerGarrett D'Amore <garrett@damore.org>2017-11-21 14:33:35 -0800
commitc9f3e1eeb95160bd690fe37636e732421543bd13 (patch)
tree43ffde49c9d0868e58aff6d41f582b2b813e8e58 /tests/resolv.c
parentdd7fc872b92b179b1f910ea371016865ff4319eb (diff)
downloadnng-c9f3e1eeb95160bd690fe37636e732421543bd13.tar.gz
nng-c9f3e1eeb95160bd690fe37636e732421543bd13.tar.bz2
nng-c9f3e1eeb95160bd690fe37636e732421543bd13.zip
Fixes for Circle environment.
The test suites run as root inside docker (?), so the files permission test needs to be skipped. Circle, like Travis, lacks support correct IPv6. I think this is because of basic deficiency in Amazon's EC2 product. Come on Amazon, it's 2017, you have to support IPv6!
Diffstat (limited to 'tests/resolv.c')
-rw-r--r--tests/resolv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/resolv.c b/tests/resolv.c
index 0678b05f..d1d3b2fe 100644
--- a/tests/resolv.c
+++ b/tests/resolv.c
@@ -129,7 +129,9 @@ TestMain("Resolver", {
// Travis CI has moved some of their services to host that
// apparently don't support IPv6 at all. This is very sad.
- if (getenv("TRAVIS") != NULL) {
+ // CircleCI 2.0 is in the same boat. (Amazon to blame.)
+ if ((getenv("TRAVIS") != NULL) ||
+ (getenv("CIRCLECI") != NULL)) {
ConveySkip("IPv6 missing from CI provider");
}