Skip to content

Combine t/helper binaries into a single one

Nguyễn Thái Ngọc Duy git 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/236 patches 11 repliesIn review
  2. v2 posting 1/27 of 36 patches 0 repliesSuperseded
  3. v136 patches 7 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/36t/helper: add an empty test-tool programMakefile t/helper/test-tool.c t/helper/test-tool.h+36 -15 replies
2/36t/helper: merge test-chmtime into test-toolMakefile t/helper/test-chmtime.c t/helper/test-tool.c +30 more+94 -890 replies
3/36t/helper: merge test-sha1 into test-toolDocumentation/howto/recover-corrupted-object-harder.txt Makefile t/helper/test-sha1.c +5 more+11 -80 replies
4/36t/helper: merge test-lazy-init-name-hash into test-toolMakefile t/helper/test-lazy-init-name-hash.c t/helper/test-tool.c +3 more+15 -120 replies
5/36t/helper: merge test-config into test-toolMakefile t/helper/test-config.c t/helper/test-tool.c +4 more+24 -210 replies
6/36t/helper: merge test-ctype into test-toolMakefile t/helper/test-ctype.c t/helper/test-tool.c +2 more+6 -30 replies
7/36t/helper: merge test-date into test-toolMakefile t/helper/test-date.c t/helper/test-tool.c +4 more+19 -160 replies
8/36t/helper: merge (unused) test-delta into test-toolMakefile t/helper/test-delta.c t/helper/test-tool.c +1 more+6 -30 replies
9/36t/helper: merge test-drop-caches into test-toolMakefile t/helper/test-drop-caches.c t/helper/test-tool.c +2 more+11 -80 replies
10/36t/helper: merge test-dump-cache-tree into test-toolMakefile t/helper/test-dump-cache-tree.c t/helper/test-tool.c +3 more+9 -60 replies
11/36t/helper: merge test-dump-split-index into test-toolMakefile t/helper/test-dump-split-index.c t/helper/test-tool.c +3 more+31 -280 replies
12/36t/helper: merge test-example-decorate into test-toolMakefile t/helper/test-example-decorate.c t/helper/test-tool.c +2 more+6 -30 replies
13/36t/helper: merge test-genrandom into test-toolMakefile t/helper/test-genrandom.c t/helper/test-tool.c +19 more+38 -350 replies
14/36t/helper: merge test-hashmap into test-toolMakefile t/helper/test-hashmap.c t/helper/test-tool.c +2 more+8 -50 replies
15/36t/helper: merge test-index-version into test-toolMakefile t/helper/test-index-version.c t/helper/test-tool.c +4 more+10 -70 replies
16/36t/helper: merge (unused) test-match-trees into test-toolMakefile t/helper/test-match-trees.c t/helper/test-tool.c +1 more+5 -20 replies
17/36t/helper: merge (unused) test-mergesort into test-toolMakefile t/helper/test-mergesort.c t/helper/test-tool.c +1 more+5 -20 replies
18/36t/helper: merge test-mktemp into test-toolMakefile t/helper/test-mktemp.c t/helper/test-tool.c +2 more+7 -40 replies
19/36t/helper: merge test-online-cpus into test-toolMakefile t/helper/test-online-cpus.c t/helper/test-tool.c +2 more+6 -30 replies
20/36t/helper: merge test-path-utils into test-toolMakefile t/helper/test-path-utils.c t/helper/test-tool.c +4 more+40 -370 replies
21/36t/helper: merge test-prio-queue into test-toolMakefile t/helper/test-prio-queue.c t/helper/test-tool.c +2 more+8 -50 replies
22/36t/helper: merge test-read-cache into test-toolMakefile t/helper/test-read-cache.c t/helper/test-tool.c +2 more+6 -30 replies
23/36t/helper: merge test-ref-store into test-toolMakefile t/helper/test-ref-store.c t/helper/test-tool.c +4 more+9 -60 replies
24/36t/helper: merge test-regex into test-toolMakefile t/helper/test-regex.c t/helper/test-tool.c +3 more+9 -60 replies
25/36t/helper: merge test-revision-walking into test-toolMakefile t/helper/test-revision-walking.c t/helper/test-tool.c +2 more+6 -30 replies
26/36t/helper: merge test-run-command into test-toolMakefile t/helper/test-run-command.c t/helper/test-tool.c +2 more+17 -140 replies
27/36t/helper: merge test-scrap-cache-tree into test-toolMakefile t/helper/test-scrap-cache-tree.c t/helper/test-tool.c +2 more+9 -60 replies
28/36t/helper: merge test-sha1-array into test-toolMakefile t/helper/test-sha1-array.c t/helper/test-tool.c +2 more+13 -100 replies
29/36t/helper: merge test-sigchain into test-toolMakefile t/helper/test-sigchain.c t/helper/test-tool.c +2 more+7 -40 replies
30/36t/helper: merge test-strcmp-offset into test-toolMakefile t/helper/test-strcmp-offset.c t/helper/test-tool.c +2 more+6 -30 replies
31/36t/helper: merge test-string-list into test-toolMakefile t/helper/test-string-list.c t/helper/test-tool.c +3 more+30 -270 replies
32/36t/helper: merge test-submodule-config into test-toolMakefile t/helper/test-submodule-config.c t/helper/test-tool.c +2 more+14 -110 replies
33/36t/helper: merge test-subprocess into test-toolMakefile t/helper/test-subprocess.c t/helper/test-tool.c +2 more+6 -30 replies
34/36t/helper: merge test-urlmatch-normalization into test-toolMakefile t/helper/test-tool.c t/helper/test-tool.h +2 more+139 -1360 replies
35/36t/helper: merge test-wildmatch into test-toolMakefile t/helper/test-tool.c t/helper/test-tool.h +2 more+12 -90 replies
36/36t/helper: merge test-write-cache into test-toolMakefile t/helper/test-tool.c t/helper/test-tool.h +2 more+6 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/36] Combine t/helper binaries into a single one

v2 fixes a couple of typos in commit messages and use the cmd__ prefix for test commands instead of test_, which avoids a naming conflict with the existing function test_lazy_init_name_hash

[the previous v2 send out was aborted because I messed it up with some other patches]

Nguyễn Thái Ngọc Duy (36):
t/helper: add an empty test-tool program t/helper: merge test-chmtime into test-tool t/helper: merge test-sha1 into test-tool t/helper: merge test-lazy-init-name-hash into test-tool t/helper: merge test-config into test-tool t/helper: merge test-ctype into test-tool t/helper: merge test-date into test-tool t/helper: merge (unused) test-delta into test-tool t/helper: merge test-drop-caches into test-tool t/helper: merge test-dump-cache-tree into test-tool t/helper: merge test-dump-split-index into test-tool t/helper: merge test-example-decorate into test-tool t/helper: merge test-genrandom into test-tool t/helper: merge test-hashmap into test-tool t/helper: merge test-index-version into test-tool t/helper: merge (unused) test-match-trees into test-tool t/helper: merge (unused) test-mergesort into test-tool t/helper: merge test-mktemp into test-tool t/helper: merge test-online-cpus into test-tool t/helper: merge test-path-utils into test-tool t/helper: merge test-prio-queue into test-tool t/helper: merge test-read-cache into test-tool t/helper: merge test-ref-store into test-tool t/helper: merge test-regex into test-tool t/helper: merge test-revision-walking into test-tool t/helper: merge test-run-command into test-tool t/helper: merge test-scrap-cache-tree into test-tool t/helper: merge test-sha1-array into test-tool t/helper: merge test-sigchain into test-tool t/helper: merge test-strcmp-offset into test-tool t/helper: merge test-string-list into test-tool t/helper: merge test-submodule-config into test-tool t/helper: merge test-subprocess into test-tool t/helper: merge test-urlmatch-normalization into test-tool t/helper: merge test-wildmatch into test-tool t/helper: merge test-write-cache into test-tool

 .../howto/recover-corrupted-object-harder.txt |   2 +-
 Makefile                                      |  79 +++---
 t/helper/test-chmtime.c                       |  15 +-
 t/helper/test-config.c                        |   5 +-
 t/helper/test-ctype.c                         |   3 +-
 t/helper/test-date.c                          |  17 +-
 t/helper/test-delta.c                         |   5 +-
 t/helper/test-drop-caches.c                   |   3 +-
 t/helper/test-dump-cache-tree.c               |   3 +-
 t/helper/test-dump-split-index.c              |   3 +-
 t/helper/test-example-decorate.c              |   3 +-
 t/helper/test-genrandom.c                     |   3 +-
 t/helper/test-hashmap.c                       |   5 +-
 t/helper/test-index-version.c                 |   3 +-
 t/helper/test-lazy-init-name-hash.c           |  13 +-
 t/helper/test-match-trees.c                   |   3 +-
 t/helper/test-mergesort.c                     |   3 +-
 t/helper/test-mktemp.c                        |   3 +-
 t/helper/test-online-cpus.c                   |   3 +-
 t/helper/test-path-utils.c                    |   3 +-
 t/helper/test-prio-queue.c                    |   3 +-
 t/helper/test-read-cache.c                    |   3 +-
 t/helper/test-ref-store.c                     |   3 +-
 t/helper/test-regex.c                         |   7 +-
 t/helper/test-revision-walking.c              |   3 +-
 t/helper/test-run-command.c                   |   3 +-
 t/helper/test-scrap-cache-tree.c              |   3 +-
 t/helper/test-sha1-array.c                    |   3 +-
 t/helper/test-sha1.c                          |   3 +-
 t/helper/test-sha1.sh                         |   4 +-
 t/helper/test-sigchain.c                      |   3 +-
 t/helper/test-strcmp-offset.c                 |   3 +-
 t/helper/test-string-list.c                   |   3 +-
 t/helper/test-submodule-config.c              |   3 +-
 t/helper/test-subprocess.c                    |   3 +-
 t/helper/test-tool.c                          |  62 ++++
 t/helper/test-tool.h                          |  40 +++
 t/helper/test-urlmatch-normalization.c        |   5 +-
 t/helper/test-wildmatch.c                     |   3 +-
 t/helper/test-write-cache.c                   |   3 +-
 t/lib-git-p4.sh                               |   2 +-
 t/lib-git-svn.sh                              |   2 +-
 t/lib-pack.sh                                 |   2 +-
 t/perf/p0002-read-cache.sh                    |   2 +-
 t/perf/p0004-lazy-init-name-hash.sh           |   8 +-
 t/perf/p0007-write-cache.sh                   |   2 +-
 t/perf/p0071-sort.sh                          |   2 +-
 t/perf/p7519-fsmonitor.sh                     |  12 +-
 t/t0005-signals.sh                            |   6 +-
 t/t0006-date.sh                               |   8 +-
 t/t0009-prio-queue.sh                         |   6 +-
 t/t0011-hashmap.sh                            |   4 +-
 t/t0013-sha1dc.sh                             |   2 +-
 t/t0021-conversion.sh                         |   4 +-
 t/t0060-path-utils.sh                         |  60 ++--
 t/t0061-run-command.sh                        |  24 +-
 t/t0062-revision-walking.sh                   |   2 +-
 t/t0063-string-list.sh                        |  48 ++--
 t/t0064-sha1-array.sh                         |  16 +-
 t/t0065-strcmp-offset.sh                      |   2 +-
 t/t0070-fundamental.sh                        |   8 +-
 t/t0090-cache-tree.sh                         |  18 +-
 t/t0110-urlmatch-normalization.sh             | 266 +++++++++---------
 t/t1006-cat-file.sh                           |   2 +-
 t/t1050-large.sh                              |   6 +-
 t/t1300-repo-config.sh                        |   2 +-
 t/t1305-config-include.sh                     |   2 +-
 t/t1308-config-set.sh                         |  22 +-
 t/t1309-early-config.sh                       |  12 +-
 t/t1405-main-ref-store.sh                     |   2 +-
 t/t1406-submodule-ref-store.sh                |   2 +-
 t/t1407-worktree-ref-store.sh                 |   4 +-
 t/t1501-work-tree.sh                          |  10 +-
 t/t1600-index.sh                              |   2 +-
 t/t1700-split-index.sh                        |  64 ++---
 t/t2022-checkout-paths.sh                     |   4 +-
 t/t2104-update-index-skip-worktree.sh         |   6 +-
 t/t3008-ls-files-lazy-init-name-hash.sh       |   4 +-
 t/t3070-wildmatch.sh                          |  14 +-
 t/t3306-notes-prune.sh                        |   2 +-
 t/t3404-rebase-interactive.sh                 |   4 +-
 t/t3418-rebase-continue.sh                    |   4 +-
 t/t3501-revert-cherry-pick.sh                 |   2 +-
 t/t3510-cherry-pick-sequence.sh               |   4 +-
 t/t3600-rm.sh                                 |   2 +-
 t/t3700-add.sh                                |   2 +-
 t/t4011-diff-symlink.sh                       |   2 +-
 t/t4013-diff-various.sh                       |   2 +-
 t/t4035-diff-quiet.sh                         |   2 +-
 t/t4151-am-abort.sh                           |   4 +-
 t/t4200-rerere.sh                             |  22 +-
 t/t5000-tar-tree.sh                           |   4 +-
 t/t5300-pack-object.sh                        |   4 +-
 t/t5301-sliding-window.sh                     |   2 +-
 t/t5302-pack-index.sh                         |  14 +-
 t/t5303-pack-corruption-resilience.sh         |  10 +-
 t/t5304-prune.sh                              |  16 +-
 t/t5310-pack-bitmaps.sh                       |   2 +-
 t/t5313-pack-bounds-checks.sh                 |   4 +-
 t/t5314-pack-cycle-detection.sh               |   2 +-
 t/t5316-pack-delta-depth.sh                   |   2 +-
 t/t5400-send-pack.sh                          |   2 +-
 t/t5516-fetch-push.sh                         |   2 +-
 t/t5546-receive-limits.sh                     |   2 +-
 t/t5547-push-quarantine.sh                    |   2 +-
 t/t5608-clone-2gb.sh                          |   2 +-
 t/t6022-merge-rename.sh                       |  30 +-
 t/t6500-gc.sh                                 |   2 +-
 t/t6501-freshen-objects.sh                    |   4 +-
 t/t7411-submodule-config.sh                   |  18 +-
 t/t7508-status.sh                             |   6 +-
 t/t7701-repack-unpack-unreachable.sh          |   6 +-
 t/t7812-grep-icase-non-ascii.sh               |   2 +-
 t/t9004-example.sh                            |   2 +-
 t/t9100-git-svn-basic.sh                      |   4 +-
 t/t9300-fast-import.sh                        |   2 +-
 t/t9802-git-p4-filetype.sh                    |   2 +-
 t/t9803-git-p4-shell-metachars.sh             |   4 +-
 t/t9813-git-p4-preserve-users.sh              |   6 +-
 t/t9820-git-p4-editor-handling.sh             |   2 +-
 t/test-lib.sh                                 |  10 +-
 121 files changed, 684 insertions(+), 542 deletions(-)
 create mode 100644 t/helper/test-tool.c
 create mode 100644 t/helper/test-tool.h
Signature · 1 line
2.17.0.rc0.348.gd5a49e0b6f