2 'unit-tests/u-ctype.c',
3 'unit-tests/u-example-decorate.c',
5 'unit-tests/u-hashmap.c',
6 'unit-tests/u-mem-pool.c',
7 'unit-tests/u-oid-array.c',
8 'unit-tests/u-oidmap.c',
9 'unit-tests/u-oidtree.c',
10 'unit-tests/u-prio-queue.c',
11 'unit-tests/u-reftable-basics.c',
12 'unit-tests/u-reftable-block.c',
13 'unit-tests/u-reftable-merged.c',
14 'unit-tests/u-reftable-pq.c',
15 'unit-tests/u-reftable-readwrite.c',
16 'unit-tests/u-reftable-record.c',
17 'unit-tests/u-reftable-stack.c',
18 'unit-tests/u-reftable-table.c',
19 'unit-tests/u-reftable-tree.c',
20 'unit-tests/u-strbuf.c',
21 'unit-tests/u-strcmp-offset.c',
22 'unit-tests/u-strvec.c',
23 'unit-tests/u-trailer.c',
24 'unit-tests/u-urlmatch-normalization.c',
28 'unit-tests/clar/clar.c',
29 'unit-tests/unit-test.c',
30 'unit-tests/lib-oid.c',
31 'unit-tests/lib-reftable.c'
34 clar_decls_h = custom_target(
35 input: clar_test_suites,
36 output: 'clar-decls.h',
39 meson.current_source_dir() + '/unit-tests/generate-clar-decls.sh',
43 env: script_environment,
45 clar_sources += clar_decls_h
47 clar_sources += custom_target(
52 meson.current_source_dir() + '/unit-tests/generate-clar-suites.sh',
56 env: script_environment,
59 clar_unit_tests = executable('unit-tests',
60 sources: clar_sources + clar_test_suites,
61 dependencies: [libgit_commonmain],
63 test('unit-tests', clar_unit_tests)
71 't0003-attributes.sh',
72 't0004-unwritable.sh',
81 't0017-env-helper.sh',
83 't0019-json-writer.sh',
85 't0021-conversion.sh',
86 't0022-crlf-rename.sh',
88 't0024-crlf-archive.sh',
89 't0025-crlf-renormalize.sh',
90 't0026-eol-config.sh',
92 't0028-working-tree-encoding.sh',
93 't0029-core-unsetenvvars.sh',
94 't0030-stripspace.sh',
95 't0033-safe-directory.sh',
96 't0034-root-safe-directory.sh',
97 't0035-safe-bare-repository.sh',
98 't0040-parse-options.sh',
100 't0050-filesystem.sh',
101 't0051-windows-named-pipe.sh',
102 't0052-simple-ipc.sh',
103 't0055-beyond-symlinks.sh',
105 't0060-path-utils.sh',
106 't0061-run-command.sh',
107 't0062-revision-walking.sh',
108 't0063-string-list.sh',
109 't0066-dir-iterator.sh',
110 't0067-parse_pathspec_file.sh',
111 't0068-for-each-repo.sh',
112 't0070-fundamental.sh',
114 't0080-unit-test-output.sh',
115 't0081-find-pack.sh',
116 't0090-cache-tree.sh',
117 't0091-bugreport.sh',
121 't0101-at-syntax.sh',
122 't0200-gettext-basic.sh',
123 't0201-gettext-fallbacks.sh',
124 't0202-gettext-perl.sh',
125 't0203-gettext-setlocale-sanity.sh',
126 't0204-gettext-reencode-sanity.sh',
127 't0210-trace2-normal.sh',
128 't0211-trace2-perf.sh',
129 't0212-trace2-event.sh',
130 't0300-credentials.sh',
131 't0301-credential-cache.sh',
132 't0302-credential-store.sh',
133 't0303-credential-external.sh',
134 't0410-partial-clone.sh',
135 't0411-clone-from-partial.sh',
136 't0450-txt-doc-vs-help.sh',
137 't0500-progress-display.sh',
138 't0600-reffiles-backend.sh',
139 't0601-reffiles-pack-refs.sh',
140 't0602-reffiles-fsck.sh',
141 't0610-reftable-basics.sh',
142 't0611-reftable-httpd.sh',
143 't0612-reftable-jgit-compatibility.sh',
144 't0613-reftable-write-options.sh',
145 't1000-read-tree-m-3way.sh',
146 't1001-read-tree-m-2way.sh',
147 't1002-read-tree-m-u-2way.sh',
148 't1003-read-tree-prefix.sh',
149 't1004-read-tree-m-u-wf.sh',
150 't1005-read-tree-reset.sh',
152 't1007-hash-object.sh',
153 't1008-read-tree-overlay.sh',
154 't1009-read-tree-new-index.sh',
156 't1011-read-tree-sparse-checkout.sh',
157 't1012-read-tree-df.sh',
158 't1013-read-tree-submodule.sh',
159 't1014-read-tree-confusing.sh',
160 't1015-read-index-unmerged.sh',
161 't1016-compatObjectFormat.sh',
162 't1020-subdirectory.sh',
163 't1021-rerere-in-workdir.sh',
164 't1022-read-tree-partial-clone.sh',
166 't1051-large-conversion.sh',
167 't1060-object-corruption.sh',
168 't1090-sparse-checkout-scope.sh',
169 't1091-sparse-checkout-builtin.sh',
170 't1092-sparse-checkout-compatibility.sh',
171 't1100-commit-tree-options.sh',
173 't1301-shared-repo.sh',
174 't1302-repo-version.sh',
175 't1303-wacky-config.sh',
176 't1304-default-acl.sh',
177 't1305-config-include.sh',
178 't1306-xdg-files.sh',
179 't1307-config-blob.sh',
180 't1308-config-set.sh',
181 't1309-early-config.sh',
182 't1310-config-default.sh',
183 't1350-config-hooks-path.sh',
184 't1400-update-ref.sh',
185 't1401-symbolic-ref.sh',
186 't1402-check-ref-format.sh',
188 't1404-update-ref-errors.sh',
189 't1405-main-ref-store.sh',
190 't1406-submodule-ref-store.sh',
191 't1407-worktree-ref-store.sh',
192 't1408-packed-refs.sh',
193 't1409-avoid-packing-refs.sh',
195 't1411-reflog-show.sh',
196 't1412-reflog-loop.sh',
197 't1413-reflog-detach.sh',
198 't1414-reflog-walk.sh',
199 't1415-worktree-refs.sh',
200 't1416-ref-transaction-hooks.sh',
201 't1417-reflog-updateref.sh',
202 't1418-reflog-exists.sh',
203 't1419-exclude-refs.sh',
204 't1420-lost-found.sh',
205 't1430-bad-ref-name.sh',
207 't1451-fsck-buffer.sh',
208 't1460-refs-migrate.sh',
209 't1500-rev-parse.sh',
210 't1501-work-tree.sh',
211 't1502-rev-parse-parseopt.sh',
212 't1503-rev-parse-verify.sh',
213 't1504-ceiling-dirs.sh',
214 't1505-rev-parse-last.sh',
215 't1506-rev-parse-diagnosis.sh',
216 't1507-rev-parse-upstream.sh',
217 't1508-at-combinations.sh',
218 't1509-root-work-tree.sh',
219 't1510-repo-setup.sh',
220 't1511-rev-parse-caret.sh',
221 't1512-rev-parse-disambiguation.sh',
222 't1513-rev-parse-prefix.sh',
223 't1514-rev-parse-push.sh',
224 't1515-rev-parse-outside-repo.sh',
225 't1517-outside-repo.sh',
227 't1601-index-bogus.sh',
228 't1700-split-index.sh',
229 't1701-racy-split-index.sh',
231 't2000-conflict-when-checking-files-out.sh',
232 't2002-checkout-cache-u.sh',
233 't2003-checkout-cache-mkdir.sh',
234 't2004-checkout-cache-temp.sh',
235 't2005-checkout-index-symlinks.sh',
236 't2006-checkout-index-basic.sh',
237 't2007-checkout-symlink.sh',
238 't2008-checkout-subdir.sh',
239 't2009-checkout-statinfo.sh',
240 't2010-checkout-ambiguous.sh',
241 't2011-checkout-invalid-head.sh',
242 't2012-checkout-last.sh',
243 't2013-checkout-submodule.sh',
244 't2014-checkout-switch.sh',
245 't2015-checkout-unborn.sh',
246 't2016-checkout-patch.sh',
247 't2017-checkout-orphan.sh',
248 't2018-checkout-branch.sh',
249 't2019-checkout-ambiguous-ref.sh',
250 't2020-checkout-detach.sh',
251 't2021-checkout-overwrite.sh',
252 't2022-checkout-paths.sh',
253 't2023-checkout-m.sh',
254 't2024-checkout-dwim.sh',
255 't2025-checkout-no-overlay.sh',
256 't2026-checkout-pathspec-file.sh',
257 't2027-checkout-track.sh',
258 't2030-unresolve-info.sh',
259 't2050-git-dir-relative.sh',
262 't2071-restore-patch.sh',
263 't2072-restore-pathspec-file.sh',
264 't2080-parallel-checkout-basics.sh',
265 't2081-parallel-checkout-collisions.sh',
266 't2082-parallel-checkout-attributes.sh',
267 't2100-update-cache-badpath.sh',
268 't2101-update-index-reupdate.sh',
269 't2102-update-index-symlinks.sh',
270 't2103-update-index-ignore-missing.sh',
271 't2104-update-index-skip-worktree.sh',
272 't2105-update-index-gitfile.sh',
273 't2106-update-index-assume-unchanged.sh',
274 't2107-update-index-basic.sh',
275 't2108-update-index-refresh-racy.sh',
276 't2200-add-update.sh',
277 't2201-add-update-typechange.sh',
278 't2202-add-addremove.sh',
279 't2203-add-intent.sh',
280 't2204-add-ignored.sh',
281 't2205-add-worktree-config.sh',
282 't2300-cd-to-toplevel.sh',
283 't2400-worktree-add.sh',
284 't2401-worktree-prune.sh',
285 't2402-worktree-list.sh',
286 't2403-worktree-move.sh',
287 't2404-worktree-config.sh',
288 't2405-worktree-submodule.sh',
289 't2406-worktree-repair.sh',
290 't2407-worktree-heads.sh',
291 't2500-untracked-overwriting.sh',
292 't2501-cwd-empty.sh',
293 't3000-ls-files-others.sh',
294 't3001-ls-files-others-exclude.sh',
295 't3002-ls-files-dashpath.sh',
296 't3003-ls-files-exclude.sh',
297 't3004-ls-files-basic.sh',
298 't3005-ls-files-relative.sh',
299 't3006-ls-files-long.sh',
300 't3007-ls-files-recurse-submodules.sh',
301 't3008-ls-files-lazy-init-name-hash.sh',
302 't3009-ls-files-others-nonsubmodule.sh',
303 't3010-ls-files-killed-modified.sh',
304 't3011-common-prefixes-and-directory-traversal.sh',
305 't3012-ls-files-dedup.sh',
306 't3013-ls-files-format.sh',
307 't3020-ls-files-error-unmatch.sh',
308 't3040-subprojects-basic.sh',
309 't3050-subprojects-fetch.sh',
310 't3060-ls-files-with-tree.sh',
311 't3070-wildmatch.sh',
312 't3100-ls-tree-restrict.sh',
313 't3101-ls-tree-dirname.sh',
314 't3102-ls-tree-wildcards.sh',
315 't3103-ls-tree-misc.sh',
316 't3104-ls-tree-format.sh',
317 't3105-ls-tree-output.sh',
319 't3201-branch-contains.sh',
320 't3202-show-branch.sh',
321 't3203-branch-output.sh',
322 't3204-branch-name-interpretation.sh',
323 't3205-branch-color.sh',
324 't3206-range-diff.sh',
325 't3207-branch-submodule.sh',
327 't3300-funny-names.sh',
329 't3302-notes-index-expensive.sh',
330 't3303-notes-subtrees.sh',
331 't3304-notes-mixed.sh',
332 't3305-notes-fanout.sh',
333 't3306-notes-prune.sh',
334 't3307-notes-man.sh',
335 't3308-notes-merge.sh',
336 't3309-notes-merge-auto-resolve.sh',
337 't3310-notes-merge-manual-resolve.sh',
338 't3311-notes-merge-fanout.sh',
339 't3320-notes-merge-worktrees.sh',
340 't3321-notes-stripspace.sh',
342 't3401-rebase-and-am-rename.sh',
343 't3402-rebase-merge.sh',
344 't3403-rebase-skip.sh',
345 't3404-rebase-interactive.sh',
346 't3405-rebase-malformed.sh',
347 't3406-rebase-message.sh',
348 't3407-rebase-abort.sh',
349 't3408-rebase-multi-line.sh',
350 't3409-rebase-environ.sh',
351 't3412-rebase-root.sh',
352 't3413-rebase-hook.sh',
353 't3415-rebase-autosquash.sh',
354 't3416-rebase-onto-threedots.sh',
355 't3417-rebase-whitespace-fix.sh',
356 't3418-rebase-continue.sh',
357 't3419-rebase-patch-id.sh',
358 't3420-rebase-autostash.sh',
359 't3421-rebase-topology-linear.sh',
360 't3422-rebase-incompatible-options.sh',
361 't3423-rebase-reword.sh',
362 't3424-rebase-empty.sh',
363 't3425-rebase-topology-merges.sh',
364 't3426-rebase-submodule.sh',
365 't3427-rebase-subtree.sh',
366 't3428-rebase-signoff.sh',
367 't3429-rebase-edit-todo.sh',
368 't3430-rebase-merges.sh',
369 't3431-rebase-fork-point.sh',
370 't3432-rebase-fast-forward.sh',
371 't3433-rebase-across-mode-change.sh',
372 't3434-rebase-i18n.sh',
373 't3435-rebase-gpg-sign.sh',
374 't3436-rebase-more-options.sh',
375 't3437-rebase-fixup-options.sh',
376 't3438-rebase-broken-files.sh',
378 't3501-revert-cherry-pick.sh',
379 't3502-cherry-pick-merge.sh',
380 't3503-cherry-pick-root.sh',
381 't3504-cherry-pick-rerere.sh',
382 't3505-cherry-pick-empty.sh',
383 't3506-cherry-pick-ff.sh',
384 't3507-cherry-pick-conflict.sh',
385 't3508-cherry-pick-many-commits.sh',
386 't3509-cherry-pick-merge-df.sh',
387 't3510-cherry-pick-sequence.sh',
388 't3511-cherry-pick-x.sh',
389 't3512-cherry-pick-submodule.sh',
390 't3513-revert-submodule.sh',
391 't3514-cherry-pick-revert-gpg.sh',
393 't3601-rm-pathspec-file.sh',
394 't3602-rm-sparse-checkout.sh',
395 't3650-replay-basics.sh',
397 't3701-add-interactive.sh',
399 't3703-add-magic-pathspec.sh',
400 't3704-add-pathspec-file.sh',
401 't3705-add-sparse-checkout.sh',
403 't3900-i18n-commit.sh',
404 't3901-i18n-patch.sh',
407 't3904-stash-patch.sh',
408 't3905-stash-include-untracked.sh',
409 't3906-stash-submodule.sh',
410 't3907-stash-show-config.sh',
411 't3908-stash-in-worktree.sh',
412 't3909-stash-pathspec-file.sh',
413 't3910-mac-os-precompose.sh',
414 't3920-crlf-messages.sh',
415 't4000-diff-format.sh',
416 't4001-diff-rename.sh',
417 't4002-diff-basic.sh',
418 't4003-diff-rename-1.sh',
419 't4004-diff-rename-symlink.sh',
420 't4005-diff-rename-2.sh',
421 't4006-diff-mode.sh',
423 't4008-diff-break-rewrite.sh',
424 't4009-diff-rename-4.sh',
425 't4010-diff-pathspec.sh',
426 't4011-diff-symlink.sh',
427 't4012-diff-binary.sh',
428 't4013-diff-various.sh',
429 't4014-format-patch.sh',
430 't4015-diff-whitespace.sh',
431 't4016-diff-quote.sh',
432 't4017-diff-retval.sh',
433 't4018-diff-funcname.sh',
434 't4019-diff-wserror.sh',
435 't4020-diff-external.sh',
436 't4021-format-patch-numbered.sh',
437 't4022-diff-rewrite.sh',
438 't4023-diff-rename-typechange.sh',
439 't4024-diff-optimize-common.sh',
440 't4025-hunk-header.sh',
442 't4027-diff-submodule.sh',
443 't4028-format-patch-mime-headers.sh',
444 't4029-diff-trailing-space.sh',
445 't4030-diff-textconv.sh',
446 't4031-diff-rewrite-binary.sh',
447 't4032-diff-inter-hunk-context.sh',
448 't4033-diff-patience.sh',
449 't4034-diff-words.sh',
450 't4035-diff-quiet.sh',
451 't4036-format-patch-signer-mime.sh',
452 't4037-diff-r-t-dirs.sh',
453 't4038-diff-combined.sh',
454 't4039-diff-assume-unchanged.sh',
455 't4040-whitespace-status.sh',
456 't4041-diff-submodule-option.sh',
457 't4042-diff-textconv-caching.sh',
458 't4043-diff-rename-binary.sh',
459 't4044-diff-index-unique-abbrev.sh',
460 't4045-diff-relative.sh',
461 't4046-diff-unmerged.sh',
462 't4047-diff-dirstat.sh',
463 't4048-diff-combined-binary.sh',
464 't4049-diff-stat-count.sh',
465 't4050-diff-histogram.sh',
466 't4051-diff-function-context.sh',
467 't4052-stat-output.sh',
468 't4053-diff-no-index.sh',
469 't4054-diff-bogus-tree.sh',
470 't4055-diff-context.sh',
471 't4056-diff-order.sh',
472 't4057-diff-combined-paths.sh',
473 't4058-diff-duplicates.sh',
474 't4059-diff-submodule-not-initialized.sh',
475 't4060-diff-submodule-option-diff-format.sh',
476 't4061-diff-indent.sh',
477 't4062-diff-pickaxe.sh',
478 't4063-diff-blobs.sh',
479 't4064-diff-oidfind.sh',
480 't4065-diff-anchored.sh',
481 't4066-diff-emit-delay.sh',
482 't4067-diff-partial-clone.sh',
483 't4068-diff-symmetric-merge-base.sh',
484 't4069-remerge-diff.sh',
485 't4070-diff-pairs.sh',
486 't4071-diff-minimal.sh',
487 't4100-apply-stat.sh',
488 't4101-apply-nonl.sh',
489 't4102-apply-rename.sh',
490 't4103-apply-binary.sh',
491 't4104-apply-boundary.sh',
492 't4105-apply-fuzz.sh',
493 't4106-apply-stdin.sh',
494 't4107-apply-ignore-whitespace.sh',
495 't4108-apply-threeway.sh',
496 't4109-apply-multifrag.sh',
497 't4110-apply-scan.sh',
498 't4111-apply-subdir.sh',
499 't4112-apply-renames.sh',
500 't4113-apply-ending.sh',
501 't4114-apply-typechange.sh',
502 't4115-apply-symlink.sh',
503 't4116-apply-reverse.sh',
504 't4117-apply-reject.sh',
505 't4118-apply-empty-context.sh',
506 't4119-apply-config.sh',
507 't4120-apply-popt.sh',
508 't4121-apply-diffs.sh',
509 't4122-apply-symlink-inside.sh',
510 't4123-apply-shrink.sh',
511 't4124-apply-ws-rule.sh',
512 't4125-apply-ws-fuzz.sh',
513 't4126-apply-empty.sh',
514 't4127-apply-same-fn.sh',
515 't4128-apply-root.sh',
516 't4129-apply-samemode.sh',
517 't4130-apply-criss-cross-rename.sh',
518 't4131-apply-fake-ancestor.sh',
519 't4132-apply-removal.sh',
520 't4133-apply-filenames.sh',
521 't4134-apply-submodule.sh',
522 't4135-apply-weird-filenames.sh',
523 't4136-apply-check.sh',
524 't4137-apply-submodule.sh',
525 't4138-apply-ws-expansion.sh',
526 't4139-apply-escape.sh',
527 't4140-apply-ita.sh',
528 't4141-apply-too-large.sh',
531 't4152-am-subjects.sh',
532 't4153-am-resume-override-opts.sh',
538 't4205-log-pretty-formats.sh',
539 't4206-log-follow-harder-copies.sh',
540 't4207-log-decoration-colors.sh',
541 't4208-log-magic-pathspec.sh',
542 't4209-log-pickaxe.sh',
545 't4212-log-corrupt.sh',
546 't4213-log-tabexpand.sh',
547 't4214-log-graph-octopus.sh',
548 't4215-log-skewed-merges.sh',
549 't4216-log-bloom.sh',
550 't4217-log-limit.sh',
551 't4252-am-options.sh',
552 't4253-am-keep-cr-dos.sh',
553 't4254-am-corrupt.sh',
554 't4255-am-submodule.sh',
555 't4256-am-format-flowed.sh',
556 't4257-am-interactive.sh',
557 't4258-am-quoted-cr.sh',
558 't4300-merge-tree.sh',
559 't4301-merge-tree-write-tree.sh',
561 't5001-archive-attr.sh',
562 't5002-archive-attr-pattern.sh',
563 't5003-archive-zip.sh',
564 't5004-archive-corner-cases.sh',
566 't5150-request-pull.sh',
567 't5200-update-server-info.sh',
568 't5300-pack-object.sh',
569 't5301-sliding-window.sh',
570 't5302-pack-index.sh',
571 't5303-pack-corruption-resilience.sh',
573 't5305-include-tag.sh',
574 't5306-pack-nobase.sh',
575 't5307-pack-missing-commit.sh',
576 't5308-pack-detect-duplicates.sh',
577 't5309-pack-delta-cycles.sh',
578 't5310-pack-bitmaps.sh',
579 't5311-pack-bitmaps-shallow.sh',
580 't5312-prune-corruption.sh',
581 't5313-pack-bounds-checks.sh',
582 't5314-pack-cycle-detection.sh',
583 't5315-pack-objects-compression.sh',
584 't5316-pack-delta-depth.sh',
585 't5317-pack-objects-filter-objects.sh',
586 't5318-commit-graph.sh',
587 't5319-multi-pack-index.sh',
588 't5320-delta-islands.sh',
589 't5321-pack-large-objects.sh',
590 't5322-pack-objects-sparse.sh',
591 't5323-pack-redundant.sh',
592 't5324-split-commit-graph.sh',
593 't5325-reverse-index.sh',
594 't5326-multi-pack-bitmaps.sh',
595 't5327-multi-pack-bitmaps-rev.sh',
596 't5328-commit-graph-64bit-time.sh',
597 't5329-pack-objects-cruft.sh',
598 't5330-no-lazy-fetch-with-commit-graph.sh',
599 't5331-pack-objects-stdin.sh',
600 't5332-multi-pack-reuse.sh',
601 't5333-pseudo-merge-bitmaps.sh',
602 't5334-incremental-multi-pack-index.sh',
603 't5351-unpack-large-objects.sh',
604 't5400-send-pack.sh',
605 't5401-update-hooks.sh',
606 't5402-post-merge-hook.sh',
607 't5403-post-checkout-hook.sh',
608 't5404-tracking-branches.sh',
609 't5405-send-pack-rewind.sh',
610 't5406-remote-rejects.sh',
611 't5407-post-rewrite-hook.sh',
612 't5408-send-pack-stdin.sh',
613 't5409-colorize-remote-messages.sh',
614 't5410-receive-pack.sh',
615 't5411-proc-receive-hook.sh',
616 't5500-fetch-pack.sh',
617 't5501-fetch-push-alternates.sh',
618 't5502-quickfetch.sh',
619 't5503-tagfollow.sh',
620 't5504-fetch-receive-strict.sh',
622 't5506-remote-groups.sh',
623 't5507-remote-environment.sh',
624 't5509-fetch-push-namespaces.sh',
627 't5512-ls-remote.sh',
628 't5513-fetch-track.sh',
629 't5514-fetch-multiple.sh',
630 't5515-fetch-merge-logic.sh',
631 't5516-fetch-push.sh',
632 't5517-push-mirror.sh',
633 't5518-fetch-exit-status.sh',
634 't5519-push-alternates.sh',
636 't5521-pull-options.sh',
637 't5522-pull-symlink.sh',
638 't5523-push-upstream.sh',
640 't5525-fetch-tagopt.sh',
641 't5526-fetch-submodules.sh',
642 't5527-fetch-odd-refs.sh',
643 't5528-push-default.sh',
644 't5529-push-errors.sh',
645 't5530-upload-pack-error.sh',
646 't5531-deep-submodule-push.sh',
647 't5532-fetch-proxy.sh',
649 't5534-push-signed.sh',
650 't5535-fetch-push-symref.sh',
651 't5536-fetch-conflicts.sh',
652 't5537-fetch-shallow.sh',
653 't5538-push-shallow.sh',
654 't5539-fetch-http-shallow.sh',
655 't5540-http-push-webdav.sh',
656 't5541-http-push-smart.sh',
657 't5542-push-http-shallow.sh',
658 't5543-atomic-push.sh',
659 't5544-pack-objects-hook.sh',
660 't5545-push-options.sh',
661 't5546-receive-limits.sh',
662 't5547-push-quarantine.sh',
663 't5548-push-porcelain.sh',
664 't5549-fetch-push-http.sh',
665 't5550-http-fetch-dumb.sh',
666 't5551-http-fetch-smart.sh',
667 't5552-skipping-fetch-negotiator.sh',
668 't5553-set-upstream.sh',
669 't5554-noop-fetch-negotiator.sh',
670 't5555-http-smart-common.sh',
672 't5558-clone-bundle-uri.sh',
673 't5559-http-fetch-smart-http2.sh',
674 't5560-http-backend-noserver.sh',
675 't5561-http-backend.sh',
676 't5562-http-backend-content-length.sh',
677 't5563-simple-http-auth.sh',
678 't5564-http-proxy.sh',
679 't5570-git-daemon.sh',
680 't5571-pre-push-hook.sh',
681 't5572-pull-submodule.sh',
682 't5573-pull-verify-signatures.sh',
683 't5574-fetch-output.sh',
684 't5580-unc-paths.sh',
685 't5581-http-curl-verbose.sh',
686 't5582-fetch-negative-refspec.sh',
687 't5583-push-branches.sh',
688 't5600-clone-fail-cleanup.sh',
690 't5602-clone-remote-exec.sh',
691 't5603-clone-dirname.sh',
692 't5604-clone-reference.sh',
693 't5605-clone-local.sh',
694 't5606-clone-options.sh',
695 't5607-clone-bundle.sh',
696 't5608-clone-2gb.sh',
697 't5609-clone-branch.sh',
698 't5610-clone-detached.sh',
699 't5611-clone-config.sh',
700 't5612-clone-refspec.sh',
701 't5613-info-alternate.sh',
702 't5614-clone-submodules-shallow.sh',
703 't5615-alternate-env.sh',
704 't5616-partial-clone.sh',
705 't5617-clone-submodules-remote.sh',
706 't5618-alternate-refs.sh',
707 't5619-clone-local-ambiguous-transport.sh',
709 't5621-clone-revision.sh',
710 't5700-protocol-v1.sh',
711 't5701-git-serve.sh',
712 't5702-protocol-v2.sh',
713 't5703-upload-pack-ref-in-want.sh',
714 't5704-protocol-violations.sh',
715 't5705-session-id-in-capabilities.sh',
716 't5710-promisor-remote-capability.sh',
717 't5730-protocol-v2-bundle-uri-file.sh',
718 't5731-protocol-v2-bundle-uri-git.sh',
719 't5732-protocol-v2-bundle-uri-http.sh',
720 't5750-bundle-uri-parse.sh',
721 't5801-remote-helpers.sh',
722 't5802-connect-helper.sh',
723 't5810-proto-disable-local.sh',
724 't5811-proto-disable-git.sh',
725 't5812-proto-disable-http.sh',
726 't5813-proto-disable-ssh.sh',
727 't5814-proto-disable-ext.sh',
728 't5815-submodule-protos.sh',
729 't5900-repo-selection.sh',
730 't6000-rev-list-misc.sh',
731 't6001-rev-list-graft.sh',
732 't6002-rev-list-bisect.sh',
733 't6003-rev-list-topo-order.sh',
734 't6004-rev-list-path-optim.sh',
735 't6005-rev-list-count.sh',
736 't6006-rev-list-format.sh',
737 't6007-rev-list-cherry-pick-file.sh',
738 't6008-rev-list-submodule.sh',
739 't6009-rev-list-parent.sh',
740 't6010-merge-base.sh',
741 't6011-rev-list-with-bad-commit.sh',
742 't6012-rev-list-simplify.sh',
743 't6013-rev-list-reverse-parents.sh',
744 't6014-rev-list-all.sh',
745 't6016-rev-list-graph-simplify-history.sh',
746 't6017-rev-list-stdin.sh',
747 't6018-rev-list-glob.sh',
748 't6019-rev-list-ancestry-path.sh',
749 't6020-bundle-misc.sh',
750 't6021-rev-list-exclude-hidden.sh',
751 't6022-rev-list-missing.sh',
752 't6030-bisect-porcelain.sh',
753 't6040-tracking-info.sh',
754 't6041-bisect-submodule.sh',
756 't6060-merge-index.sh',
757 't6100-rev-list-in-order.sh',
758 't6101-rev-parse-parents.sh',
759 't6102-rev-list-unexpected-objects.sh',
760 't6110-rev-list-sparse.sh',
761 't6111-rev-list-treesame.sh',
762 't6112-rev-list-filters-objects.sh',
763 't6113-rev-list-bitmap-filters.sh',
764 't6114-keep-packs.sh',
765 't6115-rev-list-du.sh',
767 't6130-pathspec-noglob.sh',
768 't6131-pathspec-icase.sh',
769 't6132-pathspec-exclude.sh',
770 't6133-pathspec-rev-dwim.sh',
771 't6134-pathspec-in-submodule.sh',
772 't6135-pathspec-with-attrs.sh',
773 't6136-pathspec-in-bare.sh',
774 't6137-pathspec-wildcards-literal.sh',
775 't6200-fmt-merge-msg.sh',
776 't6300-for-each-ref.sh',
777 't6301-for-each-ref-errors.sh',
778 't6302-for-each-ref-filter.sh',
780 't6401-merge-criss-cross.sh',
781 't6402-merge-rename.sh',
782 't6403-merge-file.sh',
783 't6404-recursive-merge.sh',
784 't6405-merge-symlinks.sh',
785 't6406-merge-attr.sh',
786 't6407-merge-binary.sh',
787 't6408-merge-up-to-date.sh',
788 't6409-merge-subtree.sh',
789 't6411-merge-filemode.sh',
790 't6412-merge-large-rename.sh',
791 't6413-merge-crlf.sh',
792 't6414-merge-rename-nocruft.sh',
793 't6415-merge-dir-to-symlink.sh',
794 't6416-recursive-corner-cases.sh',
795 't6417-merge-ours-theirs.sh',
796 't6418-merge-text-auto.sh',
797 't6419-merge-ignorecase.sh',
798 't6421-merge-partial-clone.sh',
799 't6422-merge-rename-corner-cases.sh',
800 't6423-merge-rename-directories.sh',
801 't6424-merge-unrelated-index-changes.sh',
802 't6425-merge-rename-delete.sh',
803 't6426-merge-skip-unneeded-updates.sh',
804 't6427-diff3-conflict-markers.sh',
805 't6428-merge-conflicts-sparse.sh',
806 't6429-merge-sequence-rename-caching.sh',
807 't6430-merge-recursive.sh',
808 't6431-merge-criscross.sh',
809 't6432-merge-recursive-space-options.sh',
810 't6433-merge-toplevel.sh',
811 't6434-merge-recursive-rename-options.sh',
812 't6435-merge-sparse.sh',
813 't6436-merge-overwrite.sh',
814 't6437-submodule-merge.sh',
815 't6438-submodule-directory-file-conflicts.sh',
816 't6439-merge-co-error-msgs.sh',
818 't6501-freshen-objects.sh',
819 't6600-test-reach.sh',
820 't6601-path-walk.sh',
821 't6700-tree-depth.sh',
823 't7002-mv-sparse-checkout.sh',
824 't7003-filter-branch.sh',
829 't7008-filter-branch-null-sha1.sh',
831 't7011-skip-worktree-reading.sh',
832 't7012-skip-worktree-writing.sh',
833 't7030-verify-tag.sh',
834 't7031-verify-tag-signed-ssh.sh',
836 't7061-wtstatus-ignore.sh',
837 't7062-wtstatus-ignorecase.sh',
838 't7063-status-untracked-cache.sh',
839 't7064-wtstatus-pv2.sh',
840 't7101-reset-empty-subdirs.sh',
842 't7103-reset-bare.sh',
843 't7104-reset-hard.sh',
844 't7105-reset-patch.sh',
845 't7106-reset-unborn-branch.sh',
846 't7107-reset-pathspec-file.sh',
847 't7110-reset-merge.sh',
848 't7111-reset-table.sh',
849 't7112-reset-submodule.sh',
850 't7113-post-index-change-hook.sh',
853 't7301-clean-interactive.sh',
854 't7400-submodule-basic.sh',
855 't7401-submodule-summary.sh',
856 't7402-submodule-rebase.sh',
857 't7403-submodule-sync.sh',
858 't7406-submodule-update.sh',
859 't7407-submodule-foreach.sh',
860 't7408-submodule-reference.sh',
861 't7409-submodule-detached-work-tree.sh',
862 't7411-submodule-config.sh',
863 't7412-submodule-absorbgitdirs.sh',
864 't7413-submodule-is-active.sh',
865 't7414-submodule-mistakes.sh',
866 't7416-submodule-dash-url.sh',
867 't7417-submodule-path-url.sh',
868 't7418-submodule-sparse-gitmodules.sh',
869 't7419-submodule-set-branch.sh',
870 't7420-submodule-set-url.sh',
871 't7421-submodule-summary-add.sh',
872 't7422-submodule-output.sh',
873 't7423-submodule-symlinks.sh',
874 't7424-submodule-mixed-ref-formats.sh',
875 't7450-bad-git-dotfiles.sh',
876 't7500-commit-template-squash-signoff.sh',
877 't7501-commit-basic-functionality.sh',
878 't7502-commit-porcelain.sh',
879 't7503-pre-commit-and-pre-merge-commit-hooks.sh',
880 't7504-commit-msg-hook.sh',
881 't7505-prepare-commit-msg-hook.sh',
882 't7506-status-submodule.sh',
883 't7507-commit-verbose.sh',
885 't7509-commit-authorship.sh',
886 't7510-signed-commit.sh',
887 't7511-status-index.sh',
888 't7512-status-help.sh',
889 't7513-interpret-trailers.sh',
890 't7514-commit-patch.sh',
891 't7515-status-symlinks.sh',
892 't7516-commit-races.sh',
893 't7517-per-repo-email.sh',
894 't7518-ident-corner-cases.sh',
895 't7519-status-fsmonitor.sh',
896 't7520-ignored-hook-warning.sh',
897 't7521-ignored-mode.sh',
898 't7524-commit-summary.sh',
899 't7525-status-rename.sh',
900 't7526-commit-pathspec-file.sh',
901 't7527-builtin-fsmonitor.sh',
902 't7528-signed-commit-ssh.sh',
904 't7601-merge-pull-config.sh',
905 't7602-merge-octopus-many.sh',
906 't7603-merge-reduce-heads.sh',
907 't7604-merge-custom-message.sh',
908 't7605-merge-resolve.sh',
909 't7606-merge-custom.sh',
910 't7607-merge-state.sh',
911 't7608-merge-messages.sh',
912 't7609-mergetool--lib.sh',
913 't7610-mergetool.sh',
914 't7611-merge-abort.sh',
915 't7612-merge-verify-signatures.sh',
916 't7614-merge-signoff.sh',
917 't7615-diff-algo-with-mergy-operations.sh',
919 't7701-repack-unpack-unreachable.sh',
920 't7702-repack-cyclic-alternate.sh',
921 't7703-repack-geometric.sh',
922 't7704-repack-cruft.sh',
925 't7811-grep-open.sh',
926 't7812-grep-icase-non-ascii.sh',
927 't7813-grep-icase-iso.sh',
928 't7814-grep-recurse-submodules.sh',
929 't7815-grep-binary.sh',
930 't7816-grep-binary-pattern.sh',
931 't7817-grep-sparse-checkout.sh',
932 't7900-maintenance.sh',
935 't8003-blame-corner-cases.sh',
936 't8004-blame-with-conflicts.sh',
937 't8005-blame-i18n.sh',
938 't8006-blame-textconv.sh',
939 't8007-cat-file-textconv.sh',
940 't8008-blame-formats.sh',
941 't8009-blame-vs-topicbranches.sh',
942 't8010-cat-file-filters.sh',
943 't8011-blame-split-file.sh',
944 't8012-blame-colors.sh',
945 't8013-blame-ignore-revs.sh',
946 't8014-blame-ignore-fuzzy.sh',
947 't9001-send-email.sh',
949 't9003-help-autocorrect.sh',
950 't9100-git-svn-basic.sh',
951 't9101-git-svn-props.sh',
952 't9102-git-svn-deep-rmdir.sh',
953 't9103-git-svn-tracked-directory-removed.sh',
954 't9104-git-svn-follow-parent.sh',
955 't9105-git-svn-commit-diff.sh',
956 't9106-git-svn-commit-diff-clobber.sh',
957 't9107-git-svn-migrate.sh',
958 't9108-git-svn-glob.sh',
959 't9109-git-svn-multi-glob.sh',
960 't9110-git-svn-use-svm-props.sh',
961 't9111-git-svn-use-svnsync-props.sh',
962 't9112-git-svn-md5less-file.sh',
963 't9113-git-svn-dcommit-new-file.sh',
964 't9114-git-svn-dcommit-merge.sh',
965 't9115-git-svn-dcommit-funky-renames.sh',
966 't9116-git-svn-log.sh',
967 't9117-git-svn-init-clone.sh',
968 't9118-git-svn-funky-branch-names.sh',
969 't9119-git-svn-info.sh',
970 't9120-git-svn-clone-with-percent-escapes.sh',
971 't9121-git-svn-fetch-renamed-dir.sh',
972 't9122-git-svn-author.sh',
973 't9123-git-svn-rebuild-with-rewriteroot.sh',
974 't9124-git-svn-dcommit-auto-props.sh',
975 't9125-git-svn-multi-glob-branch-names.sh',
976 't9126-git-svn-follow-deleted-readded-directory.sh',
977 't9127-git-svn-partial-rebuild.sh',
978 't9128-git-svn-cmd-branch.sh',
979 't9129-git-svn-i18n-commitencoding.sh',
980 't9130-git-svn-authors-file.sh',
981 't9131-git-svn-empty-symlink.sh',
982 't9132-git-svn-broken-symlink.sh',
983 't9133-git-svn-nested-git-repo.sh',
984 't9134-git-svn-ignore-paths.sh',
985 't9135-git-svn-moved-branch-empty-file.sh',
986 't9136-git-svn-recreated-branch-empty-file.sh',
987 't9137-git-svn-dcommit-clobber-series.sh',
988 't9138-git-svn-authors-prog.sh',
989 't9139-git-svn-non-utf8-commitencoding.sh',
990 't9140-git-svn-reset.sh',
991 't9141-git-svn-multiple-branches.sh',
992 't9142-git-svn-shallow-clone.sh',
993 't9143-git-svn-gc.sh',
994 't9144-git-svn-old-rev_map.sh',
995 't9145-git-svn-master-branch.sh',
996 't9146-git-svn-empty-dirs.sh',
997 't9147-git-svn-include-paths.sh',
998 't9148-git-svn-propset.sh',
999 't9150-svk-mergetickets.sh',
1000 't9151-svn-mergeinfo.sh',
1001 't9152-svn-empty-dirs-after-gc.sh',
1002 't9153-git-svn-rewrite-uuid.sh',
1003 't9154-git-svn-fancy-glob.sh',
1004 't9155-git-svn-fetch-deleted-tag.sh',
1005 't9156-git-svn-fetch-deleted-tag-2.sh',
1006 't9157-git-svn-fetch-merge.sh',
1007 't9158-git-svn-mergeinfo.sh',
1008 't9159-git-svn-no-parent-mergeinfo.sh',
1009 't9160-git-svn-preserve-empty-dirs.sh',
1010 't9161-git-svn-mergeinfo-push.sh',
1011 't9162-git-svn-dcommit-interactive.sh',
1012 't9163-git-svn-reset-clears-caches.sh',
1013 't9164-git-svn-dcommit-concurrent.sh',
1014 't9165-git-svn-fetch-merge-branch-of-branch.sh',
1015 't9166-git-svn-fetch-merge-branch-of-branch2.sh',
1016 't9167-git-svn-cmd-branch-subproject.sh',
1017 't9168-git-svn-partially-globbed-names.sh',
1018 't9169-git-svn-dcommit-crlf.sh',
1019 't9200-git-cvsexportcommit.sh',
1021 't9211-scalar-clone.sh',
1022 't9300-fast-import.sh',
1023 't9301-fast-import-notes.sh',
1024 't9302-fast-import-unpack-limit.sh',
1025 't9303-fast-import-compression.sh',
1026 't9304-fast-import-marks.sh',
1027 't9350-fast-export.sh',
1028 't9351-fast-export-anonymize.sh',
1029 't9400-git-cvsserver-server.sh',
1030 't9401-git-cvsserver-crlf.sh',
1031 't9402-git-cvsserver-refs.sh',
1032 't9500-gitweb-standalone-no-errors.sh',
1033 't9501-gitweb-standalone-http-status.sh',
1034 't9502-gitweb-standalone-parse-output.sh',
1035 't9600-cvsimport.sh',
1036 't9601-cvsimport-vendor-branch.sh',
1037 't9602-cvsimport-branches-tags.sh',
1038 't9603-cvsimport-patchsets.sh',
1039 't9604-cvsimport-timestamps.sh',
1040 't9700-perl-git.sh',
1041 't9800-git-p4-basic.sh',
1042 't9801-git-p4-branch.sh',
1043 't9802-git-p4-filetype.sh',
1044 't9803-git-p4-shell-metachars.sh',
1045 't9804-git-p4-label.sh',
1046 't9805-git-p4-skip-submit-edit.sh',
1047 't9806-git-p4-options.sh',
1048 't9807-git-p4-submit.sh',
1049 't9808-git-p4-chdir.sh',
1050 't9809-git-p4-client-view.sh',
1051 't9810-git-p4-rcs.sh',
1052 't9811-git-p4-label-import.sh',
1053 't9812-git-p4-wildcards.sh',
1054 't9813-git-p4-preserve-users.sh',
1055 't9814-git-p4-rename.sh',
1056 't9815-git-p4-submit-fail.sh',
1057 't9816-git-p4-locked.sh',
1058 't9817-git-p4-exclude.sh',
1059 't9818-git-p4-block.sh',
1060 't9819-git-p4-case-folding.sh',
1061 't9820-git-p4-editor-handling.sh',
1062 't9821-git-p4-path-variations.sh',
1063 't9822-git-p4-path-encoding.sh',
1064 't9823-git-p4-mock-lfs.sh',
1065 't9824-git-p4-git-lfs.sh',
1066 't9825-git-p4-handle-utf16-without-bom.sh',
1067 't9826-git-p4-keep-empty-commits.sh',
1068 't9827-git-p4-change-filetype.sh',
1069 't9828-git-p4-map-user.sh',
1070 't9829-git-p4-jobs.sh',
1071 't9830-git-p4-symlink-dir.sh',
1072 't9831-git-p4-triggers.sh',
1073 't9832-unshelve.sh',
1075 't9834-git-p4-file-dir-bug.sh',
1076 't9835-git-p4-metadata-encoding-python2.sh',
1077 't9836-git-p4-metadata-encoding-python3.sh',
1079 't9901-git-web--browse.sh',
1080 't9902-completion.sh',
1081 't9903-bash-prompt.sh',
1085 'perf/p0000-perf-lib-sanity.sh',
1086 'perf/p0001-rev-list.sh',
1087 'perf/p0002-read-cache.sh',
1088 'perf/p0003-delta-base-cache.sh',
1089 'perf/p0004-lazy-init-name-hash.sh',
1090 'perf/p0005-status.sh',
1091 'perf/p0006-read-tree-checkout.sh',
1092 'perf/p0007-write-cache.sh',
1093 'perf/p0008-odb-fsync.sh',
1094 'perf/p0071-sort.sh',
1095 'perf/p0090-cache-tree.sh',
1096 'perf/p0100-globbing.sh',
1097 'perf/p1006-cat-file.sh',
1098 'perf/p1400-update-ref.sh',
1099 'perf/p1450-fsck.sh',
1100 'perf/p1451-fsck-skip-list.sh',
1101 'perf/p1500-graph-walks.sh',
1102 'perf/p2000-sparse-operations.sh',
1103 'perf/p3400-rebase.sh',
1104 'perf/p3404-rebase-interactive.sh',
1105 'perf/p4000-diff-algorithms.sh',
1106 'perf/p4001-diff-no-index.sh',
1107 'perf/p4002-diff-color-moved.sh',
1108 'perf/p4205-log-pretty-formats.sh',
1109 'perf/p4209-pickaxe.sh',
1110 'perf/p4211-line-log.sh',
1111 'perf/p4220-log-grep-engines.sh',
1112 'perf/p4221-log-grep-engines-fixed.sh',
1113 'perf/p5302-pack-index.sh',
1114 'perf/p5303-many-packs.sh',
1115 'perf/p5304-prune.sh',
1116 'perf/p5310-pack-bitmaps.sh',
1117 'perf/p5311-pack-bitmaps-fetch.sh',
1118 'perf/p5312-pack-bitmaps-revs.sh',
1119 'perf/p5313-pack-objects.sh',
1120 'perf/p5314-name-hash.sh',
1121 'perf/p5326-multi-pack-bitmaps.sh',
1122 'perf/p5332-multi-pack-reuse.sh',
1123 'perf/p5333-pseudo-merge-bitmaps.sh',
1124 'perf/p5550-fetch-tags.sh',
1125 'perf/p5551-fetch-rescan.sh',
1126 'perf/p5600-partial-clone.sh',
1127 'perf/p5601-clone-reference.sh',
1128 'perf/p6100-describe.sh',
1129 'perf/p6300-for-each-ref.sh',
1130 'perf/p7000-filter-branch.sh',
1131 'perf/p7102-reset.sh',
1132 'perf/p7300-clean.sh',
1133 'perf/p7519-fsmonitor.sh',
1134 'perf/p7527-builtin-fsmonitor.sh',
1135 'perf/p7810-grep.sh',
1136 'perf/p7820-grep-engines.sh',
1137 'perf/p7821-grep-engines-fixed.sh',
1138 'perf/p7822-grep-perl-character.sh',
1139 'perf/p9210-scalar.sh',
1140 'perf/p9300-fast-import-export.sh',
1143 # Sanity check that we are not missing any tests present in 't/'. This check
1144 # only runs once at configure time and is thus best-effort, only. It is
1145 # sufficient to catch missing test suites in our CI though.
1146 foreach glob, tests : {
1147 't[0-9][0-9][0-9][0-9]-*.sh': integration_tests,
1148 'unit-tests/u-*.c': clar_test_suites,
1150 actual_tests = run_command(shell, '-c', 'ls ' + glob,
1152 env: script_environment,
1153 ).stdout().strip().split('\n')
1155 if tests != actual_tests
1157 foreach actual_test : actual_tests
1158 if actual_test not in tests
1159 missing_tests += actual_test
1162 if missing_tests.length() > 0
1163 error('Test files found, but not configured:\n\n - ' + '\n - '.join(missing_tests))
1166 superfluous_tests = [ ]
1167 foreach integration_test : tests
1168 if integration_test not in actual_tests
1169 superfluous_tests += integration_test
1172 if superfluous_tests.length() > 0
1173 error('Test files configured, but not found:\n\n - ' + '\n - '.join(superfluous_tests))
1178 # GIT_BUILD_DIR needs to be Unix-style without drive prefixes as it get added
1179 # to the PATH variable. And given that drive prefixes contain a colon we'd
1180 # otherwise end up with a broken PATH if we didn't convert it.
1181 git_build_dir = meson.project_build_root()
1183 git_build_dir = run_command(cygpath, git_build_dir, check: true).stdout().strip()
1186 test_environment = script_environment
1187 test_environment.set('GIT_BUILD_DIR', git_build_dir)
1189 foreach integration_test : integration_tests
1190 test(fs.stem(integration_test), shell,
1191 args: [ integration_test ],
1192 workdir: meson.current_source_dir(),
1193 env: test_environment,
1194 depends: test_dependencies + bin_wrappers,
1199 if perl.found() and time.found()
1200 benchmark_environment = test_environment
1201 benchmark_environment.set('GTIME', time.full_path())
1203 foreach benchmark : benchmarks
1204 benchmark(fs.stem(benchmark), shell,
1208 workdir: meson.current_source_dir() / 'perf',
1209 env: benchmark_environment,
1210 depends: test_dependencies + bin_wrappers,