master
1#***************************************************************************
2# _ _ ____ _
3# Project ___| | | | _ \| |
4# / __| | | | |_) | |
5# | (__| |_| | _ <| |___
6# \___|\___/|_| \_\_____|
7#
8# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
9#
10# This software is licensed as described in the file COPYING, which
11# you should have received as part of this distribution. The terms
12# are also available at https://curl.se/docs/copyright.html.
13#
14# You may opt to use, copy, modify, merge, publish, distribute and/or sell
15# copies of the Software, and permit persons to whom the Software is
16# furnished to do so, under the terms of the COPYING file.
17#
18# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19# KIND, either express or implied.
20#
21# SPDX-License-Identifier: curl
22#
23###########################################################################
25# scripts used in test cases
26TESTSCRIPTS = \
27 test307.pl \
28 test610.pl \
29 test613.pl \
30 test745.pl \
31 test971.pl \
32 test1013.pl \
33 test1022.pl \
34 test1119.pl \
35 test1135.pl \
36 test1139.pl \
37 test1140.pl \
38 test1165.pl \
39 test1167.pl \
40 test1173.pl \
41 test1175.pl \
42 test1177.pl \
43 test1222.pl \
44 test1275.pl \
45 test1276.pl \
46 test1477.pl \
47 test1486.pl \
48 test1488.pl \
49 test1544.pl \
50 test1707.pl \
51 test1792.pl \
52 test3500.pl \
53 test3990.pl
55EXTRA_DIST = \
56 CMakeLists.txt \
57 allversions.pm \
58 appveyor.pm \
59 azure.pm \
60 devtest.pl \
61 dictserver.py \
62 directories.pm \
63 ech_combos.py \
64 ech_tests.sh \
65 ftpserver.pl \
66 getpart.pm \
67 globalconfig.pm \
68 http-server.pl \
69 http2-server.pl \
70 http3-server.pl \
71 memanalyze.pl \
72 memanalyzer.pm \
73 negtelnetserver.py \
74 nghttpx.conf \
75 pathhelp.pm \
76 processhelp.pm \
77 rtspserver.pl \
78 runner.pm \
79 runtests.pl \
80 secureserver.pl \
81 serverhelp.pm \
82 servers.pm \
83 sshhelp.pm \
84 sshserver.pl \
85 test-linter.pl \
86 testcurl.pl \
87 testutil.pm \
88 tftpserver.pl \
89 util.py \
90 valgrind.pm \
91 valgrind.supp \
92 $(TESTSCRIPTS)
94# we have two variables here to make sure DIST_SUBDIRS does not get 'unit'
95# added twice as then targets such as 'distclean' misbehave and try to
96# do things twice in that subdir at times (and thus fails).
97if BUILD_UNITTESTS
98BUILD_UNIT = unit tunit
99DIST_UNIT =
100else
101BUILD_UNIT =
102DIST_UNIT = unit tunit
103endif
105SUBDIRS = certs data perf server libtest http $(BUILD_UNIT)
106DIST_SUBDIRS = $(SUBDIRS) $(DIST_UNIT)
108PERLFLAGS = -I$(srcdir)
110CLEANFILES = .http.pid .https.pid .ftp.pid .ftps.pid
112curl:
113 @cd $(top_builddir) && $(MAKE)
115TEST_COMMON =
117if CROSSCOMPILING
118TEST = @echo "NOTICE: we cannot run the tests when cross-compiling!"
119PYTEST = $(TEST)
120else # if not cross-compiling:
122if BUILD_DOCS
123else
124TEST_COMMON += !documentation
125endif
127TEST = srcdir=$(srcdir) @PERL@ $(PERLFLAGS) $(srcdir)/runtests.pl $(TEST_COMMON)
128TEST_A = -a
129TEST_Q = -a -s
130TEST_AM = -a -am
131TEST_F = -a -p -r
132TEST_T = -a -t -j20
133TEST_E = -a -e
135# ~<keyword> means that it runs all tests matching the keyword, but ignores
136# their results (since these ones are likely to fail for no good reason)
137TEST_NF = -a -p ~flaky ~timing-dependent
139# special target for CI use
140TEST_CI = $(TEST_NF) -r --retry=5 -j20 --buildinfo
142PYTEST = pytest
143endif
145# make sure that PERL is pointing to an executable
146perlcheck:
147 @if ! test -x "@PERL@"; then echo 'No perl!'; exit 2; fi
149build-certs: perlcheck
150 (cd certs && $(MAKE))
152# alias for 'test' to match CMake, where 'test' is a reserved target
153tests: perlcheck all
154 $(TEST) $(TEST_A) $(TFLAGS)
156test: perlcheck all
157 $(TEST) $(TFLAGS)
159quiet-test: perlcheck all
160 $(TEST) $(TEST_Q) $(TFLAGS)
162am-test: perlcheck all
163 $(TEST) $(TEST_AM) $(TFLAGS)
165ci-test: perlcheck all
166 $(TEST) $(TEST_CI) $(TFLAGS)
168full-test: perlcheck all
169 $(TEST) $(TEST_F) $(TFLAGS)
171nonflaky-test: perlcheck all
172 $(TEST) $(TEST_NF) $(TFLAGS)
174torture-test: perlcheck all
175 $(TEST) $(TEST_T) $(TFLAGS)
177event-test: perlcheck all
178 $(TEST) $(TEST_E) $(TFLAGS)
180default-pytest: ci-pytest
182ci-pytest: all
183 srcdir=$(srcdir) $(PYTEST) -n auto -v $(srcdir)/http
185checksrc:
186 (cd libtest && $(MAKE) checksrc)
187 (cd perf && $(MAKE) checksrc)
188 (cd server && $(MAKE) checksrc)
189 (cd tunit && $(MAKE) checksrc)
190 (cd unit && $(MAKE) checksrc)
192all-local: build-certs
194distclean:
195 rm -f $(CLEANFILES)
Diagnostics4 git calls · 37 ms
CallStatusSizeTime037 ms
discover200152 B3 ms
git.upload-pack discover http.response.status_code=200 git.upstream.cf_ray=- git.upstream.phase=fetch git.upstream.dur_ms=1 git.response.bytes=152 git.server.agent=gitty/1.0 git.server.object_format=sha1 git.server.caps=agent ls-refs fetch object-format git.server.fetch=shallow filter sideband-all git.protocol.version=2 git.pkt.frames=8 git.pkt.data=6 git.pkt.flush=2 git.pkt.delim=0 git.pkt.bytes=152 git.pkt.payload.max=34
ls-refs200149 B · hit2 ms
git.upload-pack ls-refs http.response.status_code=200 git.upstream.cf_ray=- git.upstream.phase=ls-refs git.upstream.dur_ms=2 git.response.bytes=149 git.response.cache=HIT git.response.duration_ms=2 git.protocol.version=2 git.pkt.frames=3 git.pkt.data=2 git.pkt.flush=1 git.pkt.delim=0 git.pkt.bytes=149 git.pkt.payload.max=78 git.ls_refs.count=2 git.ls_refs.head=refs/heads/master
fetchblob:none · deepen 10200287 KiB · hit2 ms
git.upload-pack fetch http.response.status_code=200 git.upstream.cf_ray=- git.upstream.phase=fetch git.upstream.dur_ms=32 git.response.bytes=293470 git.response.cache=HIT git.response.duration_ms=2 git.fetch.filter=blob:none git.fetch.filter.requested=tree:0 git.fetch.filter.fallback=blob:none git.fetch.filter.learned=false git.fetch.wants=31c911efe5652725e930f4d2e60c9060e5f6646d git.fetch.haves.count=0 git.fetch.deepen=10 git.fetch.thin_pack=false git.fetch.ofs_delta=true git.protocol.version=2 git.pkt.frames=10 git.pkt.data=8 git.pkt.flush=1 git.pkt.delim=1 git.pkt.bytes=293470 git.pkt.payload.max=65516 git.sideband.band1.bytes=293354 git.sideband.band2.bytes=0 git.sideband.band3.bytes=0 git.pack.objects=87 git.pack.bytes=293354 git.pack.ofs_delta=0 git.pack.ref_delta=1 git.pack.chain.max=1 git.pack.trailer=6a646bcda6740bab42e321b51998b52ea15146c0 git.pack.full=86Open pack map
fetch2001.9 KiB · hit32 ms
git.upload-pack fetch http.response.status_code=200 git.response.bytes=1950 git.response.cache=HIT git.response.duration_ms=32 git.fetch.wants=0ed14ba8675b58537ce88951f24719b251c9bc79 git.fetch.haves.count=0 git.fetch.deepen=0 git.fetch.thin_pack=false git.fetch.ofs_delta=true git.protocol.version=2 git.pkt.frames=3 git.pkt.data=2 git.pkt.flush=1 git.pkt.delim=0 git.pkt.bytes=1950 git.pkt.payload.max=1929 git.sideband.band1.bytes=1928 git.sideband.band2.bytes=0 git.sideband.band3.bytes=0
Each row is one HTTP round trip ply made to the git server for this page, on one timeline. discover asks what the server speaks, ls-refs lists branch tips, fetch brings objects by id. A hit was served by Workers Cache. Tap a row for its wire details.
- Remote
- https://5ad2236b39de4c8bd8f6270ea63f3ea9.artifacts.cloudflare.net/git/public-v0/curl.git
- Ref
- refs/heads/master
- Commit
- 31c911efe5652725e930f4d2e60c9060e5f6646d
- cf-ray
- a5e2c106ebe489da
- Request
- d9ae4fb8…
- Protocol
- v2 · sha1
- Agent
- gitty/1.0
- Filter
- advertised
- Fetch
- shallow filter sideband-all
- Capabilities
- agent ls-refs fetch object-format