12c593315Sopenharmony_ci# nghttp2 - HTTP/2 C Library 22c593315Sopenharmony_ci 32c593315Sopenharmony_ci# Copyright (c) 2015 Tatsuhiro Tsujikawa 42c593315Sopenharmony_ci 52c593315Sopenharmony_ci# Permission is hereby granted, free of charge, to any person obtaining 62c593315Sopenharmony_ci# a copy of this software and associated documentation files (the 72c593315Sopenharmony_ci# "Software"), to deal in the Software without restriction, including 82c593315Sopenharmony_ci# without limitation the rights to use, copy, modify, merge, publish, 92c593315Sopenharmony_ci# distribute, sublicense, and/or sell copies of the Software, and to 102c593315Sopenharmony_ci# permit persons to whom the Software is furnished to do so, subject to 112c593315Sopenharmony_ci# the following conditions: 122c593315Sopenharmony_ci 132c593315Sopenharmony_ci# The above copyright notice and this permission notice shall be 142c593315Sopenharmony_ci# included in all copies or substantial portions of the Software. 152c593315Sopenharmony_ci 162c593315Sopenharmony_ci# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 172c593315Sopenharmony_ci# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 182c593315Sopenharmony_ci# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 192c593315Sopenharmony_ci# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 202c593315Sopenharmony_ci# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 212c593315Sopenharmony_ci# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 222c593315Sopenharmony_ci# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 232c593315Sopenharmony_ci 242c593315Sopenharmony_ciGO_FILES = \ 252c593315Sopenharmony_ci nghttpx_http1_test.go \ 262c593315Sopenharmony_ci nghttpx_http2_test.go \ 272c593315Sopenharmony_ci nghttpx_http3_test.go \ 282c593315Sopenharmony_ci server_tester.go \ 292c593315Sopenharmony_ci server_tester_http3.go 302c593315Sopenharmony_ci 312c593315Sopenharmony_ciEXTRA_DIST = \ 322c593315Sopenharmony_ci CMakeLists.txt \ 332c593315Sopenharmony_ci $(GO_FILES) \ 342c593315Sopenharmony_ci server.key \ 352c593315Sopenharmony_ci server.crt \ 362c593315Sopenharmony_ci alt-server.key \ 372c593315Sopenharmony_ci alt-server.crt \ 382c593315Sopenharmony_ci setenv \ 392c593315Sopenharmony_ci req-set-header.rb \ 402c593315Sopenharmony_ci resp-set-header.rb \ 412c593315Sopenharmony_ci req-return.rb \ 422c593315Sopenharmony_ci resp-return.rb 432c593315Sopenharmony_ci 442c593315Sopenharmony_ciGO_TEST_TAGS = 452c593315Sopenharmony_ci 462c593315Sopenharmony_ciif ENABLE_HTTP3 472c593315Sopenharmony_ciGO_TEST_TAGS += quic 482c593315Sopenharmony_ciendif # ENABLE_HTTP3 492c593315Sopenharmony_ci 502c593315Sopenharmony_ciit: 512c593315Sopenharmony_ci for i in $(GO_FILES); do [ -e $(builddir)/$$i ] || cp $(srcdir)/$$i $(builddir); done 522c593315Sopenharmony_ci sh setenv go test -v --tags=${GO_TEST_TAGS} 53