Skip to content

More test suite prerequisite cleanup

Ævar Arnfjörð Bjarmason git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10tests: Move FILEMODE prerequisite to lib-prereq-FILEMODE.sht/lib-prereq-FILEMODE.sh t/t3701-add-interactive.sh t/t4102-apply-rename.sh +3 more+16 -310 replies
2/10t/t3701-add-interactive.sh: change from skip_all=* to prereq skipt/t3701-add-interactive.sh+70 -340 replies
3/10lib-patch-mode tests: change from skip_all=* to prereq skipt/lib-patch-mode.sh t/t2016-checkout-patch.sh t/t3904-stash-patch.sh +1 more+23 -280 replies
4/10t/t9600-cvsimport.sh: change from skip_all=* to prereq skipt/t9600-cvsimport.sh+18 -210 replies
5/10t/t9001-send-email.sh: Remove needless PROG=* assignmentt/t9001-send-email.sh+0 -10 replies
6/10t/t9001-send-email.sh: change from skip_all=* to prereq skipt/t9001-send-email.sh+83 -820 replies
7/10t/t9001-send-email.sh: convert setup code to testst/t9001-send-email.sh+40 -30 replies
8/10t/t7105-reset-patch.sh: Add a PERL prerequisitet/t7105-reset-patch.sh+4 -40 replies
9/10t/t9601-cvsimport-vendor-branch.sh: Add a PERL prerequisitet/t9601-cvsimport-vendor-branch.sh+13 -110 replies
10/10t/t9602-cvsimport-branches-tags.sh: Add a PERL prerequisitet/t9602-cvsimport-branches-tags.sh+15 -130 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/10] More test suite prerequisite cleanup

This series:

* Moves the FILEMODE prerequisite test to lib-prereq-FILEMODE.sh
* Continues the skip_all=* -> test prerequisite work. The patches to t/t9001-send-email.sh are in three parts for easier reviewing.
* Adds a PERL prerequisite to tests that had an undeclared dependency on Perl via the -p switch.

This should take care of all the low hanging fruit skip_all=* wise, what's left now either needs test-lib changes (the external tests), or is a bit more hairy like the SVN, CVS and HTTP tests.

With this series these are the files still using skip_all=*:

    $ ack -l skip_all= *sh
    gitweb-lib.sh
    lib-cvs.sh
    lib-git-svn.sh
    lib-httpd.sh
    t0202-gettext-perl.sh
    t1509-root-worktree.sh
    t5540-http-push.sh
    t5541-http-push.sh
    t5550-http-fetch.sh
    t5551-http-fetch.sh
    t5561-http-backend.sh
    t9119-git-svn-info.sh
    t9200-git-cvsexportcommit.sh
    t9400-git-cvsserver-server.sh
    t9401-git-cvsserver-crlf.sh
    t9700-perl-git.sh
    test-lib.sh

Ævar Arnfjörð Bjarmason (10):
tests: Move FILEMODE prerequisite to lib-prereq-FILEMODE.sh t/t3701-add-interactive.sh: change from skip_all=* to prereq skip lib-patch-mode tests: change from skip_all=* to prereq skip t/t9600-cvsimport.sh: change from skip_all=* to prereq skip t/t9001-send-email.sh: Remove needless PROG=* assignment t/t9001-send-email.sh: change from skip_all=* to prereq skip t/t9001-send-email.sh: convert setup code to tests t/t7105-reset-patch.sh: Add a PERL prerequisite t/t9601-cvsimport-vendor-branch.sh: Add a PERL prerequisite t/t9602-cvsimport-branches-tags.sh: Add a PERL prerequisite

 t/lib-patch-mode.sh                |    5 -
 t/lib-prereq-FILEMODE.sh           |   11 ++
 t/t2016-checkout-patch.sh          |   28 +++---
 t/t3701-add-interactive.sh         |  112 ++++++++++++-------
 t/t3904-stash-patch.sh             |   10 +-
 t/t4102-apply-rename.sh            |    8 +--
 t/t4129-apply-samemode.sh          |    8 +--
 t/t6031-merge-recursive.sh         |    6 +-
 t/t7105-reset-patch.sh             |   16 ++--
 t/t9001-send-email.sh              |  209 +++++++++++++++++++++---------------
 t/t9200-git-cvsexportcommit.sh     |    6 +-
 t/t9600-cvsimport.sh               |   39 +++----
 t/t9601-cvsimport-vendor-branch.sh |   24 +++--
 t/t9602-cvsimport-branches-tags.sh |   28 +++---
 14 files changed, 282 insertions(+), 228 deletions(-)
 create mode 100644 t/lib-prereq-FILEMODE.sh
Signature · 1 line
1.7.2.1.338.gf2379