summaryrefslogtreecommitdiff
path: root/tests/unit/unit1650.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/unit1650.c')
-rw-r--r--tests/unit/unit1650.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/unit/unit1650.c b/tests/unit/unit1650.c
index b76936a97..05024f9b2 100644
--- a/tests/unit/unit1650.c
+++ b/tests/unit/unit1650.c
@@ -33,6 +33,7 @@ static void unit_stop(void)
}
+#ifdef USE_NGHTTP2
#define DNS_PREAMBLE "\x00\x00\x01\x00\x00\x01\x00\x00\x00\x00\x00\x00"
#define LABEL_TEST "\x04\x74\x65\x73\x74"
#define LABEL_HOST "\x04\x68\x6f\x73\x74"
@@ -281,3 +282,13 @@ UNITTEST_START
}
}
UNITTEST_STOP
+
+#else /* USE_NGHTTP2 */
+UNITTEST_START
+{
+ return 1; /* nothing to do, just fail */
+}
+UNITTEST_STOP
+
+
+#endif