mirror of
https://github.com/curl/curl.git
synced 2026-05-20 08:06:22 +03:00
test1650: make it depend on http/2
Follow-up to 570008c99d as it gets link errors.
Reported-by: Michael Kaufmann
Closes #3068
This commit is contained in:
parent
3edb0e369e
commit
b8ab30d309
2 changed files with 12 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ none
|
|||
</server>
|
||||
<features>
|
||||
unittest
|
||||
http/2
|
||||
</features>
|
||||
<name>
|
||||
DOH
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue