mirror of
https://abf.rosa.ru/djam/git.git
synced 2025-02-23 09:43:00 +00:00
adjust tests
This commit is contained in:
parent
180295e30b
commit
72e1a46243
1 changed files with 22 additions and 5 deletions
27
git.spec
27
git.spec
|
@ -367,8 +367,25 @@ install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/profile.d/%{profile_bra
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# We do NO_SVN_TESTS because git's tests hardcode
|
GIT_SKIP_TESTS=""
|
||||||
# replies from svn versions older than the one
|
%ifarch aarch64 %{arm} %{power64}
|
||||||
# we're shipping -- and they have changed since
|
# Skip tests which fail on aarch64, arm, and ppc
|
||||||
rm -f t/t5700-protocol-v1.sh
|
#
|
||||||
LC_ALL=C %make %{git_make_params} test NO_SVN_TESTS=true
|
# The following 2 tests use run_with_limited_cmdline, which calls ulimit -s 128
|
||||||
|
# to limit the maximum stack size.
|
||||||
|
# t5541.35 'push 2000 tags over http'
|
||||||
|
# t5551.25 'clone the 2,000 tag repo to check OS command line overflow'
|
||||||
|
GIT_SKIP_TESTS="$GIT_SKIP_TESTS t5541.35 t5551.25"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
export GIT_SKIP_TESTS
|
||||||
|
# Set LANG so various UTF-8 tests are run
|
||||||
|
export LANG=en_US.UTF-8
|
||||||
|
|
||||||
|
# Run the tests
|
||||||
|
%__make test
|
||||||
|
# Run contrib/credential/netrc tests
|
||||||
|
mkdir -p contrib/credential
|
||||||
|
mv netrc contrib/credential/
|
||||||
|
%make_build -C contrib/credential/netrc/ test || \
|
||||||
|
%make_build -C contrib/credential/netrc/ testverbose
|
||||||
|
|
Loading…
Add table
Reference in a new issue