Skip to content

Commit 946c457

Browse files
committed
t: restrict to tests failing with current the MSYS2 runtime
The current MSYS2 runtime version of the MSYS2 project is not able to let Git's test suite pass. To figure out which patches are needed to fix what issues pointed out by Git's test suite, let's run only those failing tests with a range of patched MSYS2 runtimes. The list of failing tests was determined by downloading the `t` artifact from https://github.com/dscho/git/actions/runs/7069719923 and running unzip -c ~/Downloads/t.zip test-results/\*.exit | grep -B1 '^[1-9]' | sed -n 's/.*\/\(t[0-9].*\)\.exit/\1.sh/p' The hanging t3701 was added manually (it was relatively easy to see that it was hanging, as the `test-results/` folder in the build artifact contained `.markup` and `.out` files for that test, but no `.exit` (and it was the only test for which there was no `.exit`). Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 192dfac commit 946c457

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

t/Makefile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,17 @@ PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
3434
TEST_RESULTS_DIRECTORY_SQ = $(subst ','\'',$(TEST_RESULTS_DIRECTORY))
3535
CHAINLINTTMP_SQ = $(subst ','\'',$(CHAINLINTTMP))
3636

37-
T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh))
37+
T = t0001-init.sh t0003-attributes.sh t0060-path-utils.sh t0068-for-each-repo.sh t1091-sparse-checkout-builtin.sh \
38+
t1092-sparse-checkout-compatibility.sh t1402-check-ref-format.sh t1501-work-tree.sh \
39+
t1506-rev-parse-diagnosis.sh t1508-at-combinations.sh t1513-rev-parse-prefix.sh t2070-restore.sh \
40+
t3001-ls-files-others-exclude.sh t3013-ls-files-format.sh t3070-wildmatch.sh t3400-rebase.sh \
41+
t3404-rebase-interactive.sh t3701-add-interactive.sh t3703-add-magic-pathspec.sh t4202-log.sh \
42+
t4208-log-magic-pathspec.sh t5500-fetch-pack.sh t5516-fetch-push.sh t5601-clone.sh \
43+
t5602-clone-remote-exec.sh t5603-clone-dirname.sh t5616-partial-clone.sh t5801-remote-helpers.sh \
44+
t5813-proto-disable-ssh.sh t6018-rev-list-glob.sh t6130-pathspec-noglob.sh t6132-pathspec-exclude.sh \
45+
t6133-pathspec-rev-dwim.sh t7201-co.sh t7400-submodule-basic.sh t7817-grep-sparse-checkout.sh \
46+
t7900-maintenance.sh t9300-fast-import.sh t9304-fast-import-marks.sh t9902-completion.sh \
47+
t9903-bash-prompt.sh
3848
THELPERS = $(sort $(filter-out $(T),$(wildcard *.sh)))
3949
TLIBS = $(sort $(wildcard lib-*.sh)) annotate-tests.sh
4050
TPERF = $(sort $(wildcard perf/p[0-9][0-9][0-9][0-9]-*.sh))

0 commit comments

Comments
 (0)