• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# nghttp2 - HTTP/2 C Library
2
3# Copyright (c) 2015 Tatsuhiro Tsujikawa
4
5# Permission is hereby granted, free of charge, to any person obtaining
6# a copy of this software and associated documentation files (the
7# "Software"), to deal in the Software without restriction, including
8# without limitation the rights to use, copy, modify, merge, publish,
9# distribute, sublicense, and/or sell copies of the Software, and to
10# permit persons to whom the Software is furnished to do so, subject to
11# the following conditions:
12
13# The above copyright notice and this permission notice shall be
14# included in all copies or substantial portions of the Software.
15
16# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
24GO_FILES = \
25	nghttpx_http1_test.go \
26	nghttpx_http2_test.go \
27	nghttpx_http3_test.go \
28	server_tester.go
29
30EXTRA_DIST = \
31	CMakeLists.txt \
32	$(GO_FILES) \
33	server.key \
34	server.crt \
35	alt-server.key \
36	alt-server.crt \
37	setenv \
38	req-set-header.rb \
39	resp-set-header.rb \
40	req-return.rb \
41	resp-return.rb
42
43GO_TEST_TAGS =
44
45if ENABLE_HTTP3
46GO_TEST_TAGS += quic
47endif # ENABLE_HTTP3
48
49it:
50	for i in $(GO_FILES); do [ -e $(builddir)/$$i ] || cp $(srcdir)/$$i $(builddir); done
51	sh setenv go test -v --tags=${GO_TEST_TAGS}
52