@@ -91,81 +91,15 @@ src_compile() {
91
91
lndirs
92
92
cd ${B}
93
93
cygconf --with-libpcre
94
- cygmake all html man info pdf
94
+ cygmake all
95
95
}
96
96
97
97
src_install() {
98
- cd ${B}
99
- cyginstall install-html install-man install-info install-pdf pdfdir=/usr/share/doc/git
100
-
101
- # Ship bash completion
102
- insinto "$(pkg-config --variable=completionsdir bash-completion)"
103
- newins ${S}/contrib/completion/git-completion.bash git
98
+ exit 1
104
99
}
105
100
106
101
src_test() {
107
- # Test t4018 fails if the files in the build directory are left as
108
- # symlinks rather than being real files.
109
- rm ${B}/t/t4018/*
110
- cp ${S}/t/t4018/* ${B}/t/t4018
111
- cd ${B}
112
-
113
- # Unless GIT_SKIP_TESTS is already set, in which case trust the version
114
- # that comes from the environment (including if it's the null string),
115
- # always skip known failures.
116
- if [[ ! -v GIT_SKIP_TESTS ]]; then
117
- known_failures=()
118
-
119
- # https://github.com/me-and/Cygwin-Git/issues/54
120
- known_failures+=(t5562)
121
-
122
- export GIT_SKIP_TESTS="${known_failures[*]}"
123
- fi
124
-
125
- # Also pull in skips set in GIT_SKIP_ADDITIONAL_TESTS. That's an
126
- # environment variable made up for this script rather than one
127
- # suggested by the Git build infrastructure. The idea is that setting
128
- # GIT_SKIP_TESTS would override the previous block for skipping known
129
- # failures, GIT_SKIP_ADDITIONAL_TESTS will be an addition to the
130
- # previous block.
131
- [[ -v GIT_SKIP_ADDITIONAL_TESTS ]] && export GIT_SKIP_TESTS="${GIT_SKIP_TESTS}${GIT_SKIP_TESTS:+ }${GIT_SKIP_ADDITIONAL_TESTS}"
132
-
133
- # Create an array of tests to skip for the main run, but which
134
- # shouldn't be listed in the GIT_SKIP_TESTS environment variable,
135
- # because we may want to try to run them later.
136
- main_run_skip_tests=()
137
-
138
- # Skip t0021, since it seems to hang when run through prove in GitHub
139
- # Actions. Run it later, outside prove, where it doesn't have that
140
- # problem.
141
- # https://github.com/me-and/Cygwin-Git/issues/53
142
- main_run_skip_tests+=('t0021')
143
-
144
- # Skip t7900 from the main run as it needs a lot of disk space. If
145
- # there's sufficient space later, we can run it then.
146
- main_run_skip_tests+=('t7900')
147
-
148
- # Return code. Set to zero now, it'll be set to non-zero by any test
149
- # that fails. We want to know about all failures, but we also want to
150
- # run later tests even if earlier ones fail.
151
- rc=0
152
-
153
- GIT_SKIP_TESTS="${GIT_SKIP_TESTS}${GIT_SKIP_TESTS:+ }${main_run_skip_tests[*]}" GIT_TEST_OPTS='--tee -l' DEFAULT_TEST_TARGET=prove GIT_PROVE_OPTS="--jobs $(($(nproc 2>/dev/null) + 1)) --timer" cygtest || rc=$?
154
-
155
- # Run t0021 since it was skipped earlier.
156
- ( cd ${B}/t && echo t0021-*.sh && ./t0021-*.sh --tee -l; ) || rc="$?"
157
-
158
- # Run t7900 if there's at least 10GB free disk space. It's much more
159
- # likely that that's the case now other tests aren't running at the
160
- # same time.
161
- if (( $(($(stat -f --format="%a*%S" .) / 1024 / 1024 / 1024)) > 10 )); then
162
- ( cd ${B}/t && echo t7900-*.sh && ./t7900-*.sh --tee -l; ) || rc="$?"
163
- else
164
- echo 'Skipping t7900 due to lack of disk space'
165
- rc=1
166
- fi
167
-
168
- return "$rc"
102
+ ( cd ${B}/t && echo t5580-*.sh && ./t5580-*.sh --tee --verbose -l; )
169
103
}
170
104
171
105
# vim: set noexpandtab tabstop=8 listchars=tab\:\ \ ,trail\:-,lead\:-
0 commit comments