Ondřej Súkup 2023-03-30 17:20:35 +00:00 committed by Git OBS Bridge
parent 516e555249
commit cadd5825d9

View File

@ -252,9 +252,6 @@ rm src/testdir/test_textprop.*
rm src/testdir/test_window_cmd.*
rm src/testdir/test_writefile.*
rm runtime/indent/testdir/vim.*
%ifarch %{ix86}
rm src/testdir/test_python3.*
%endif
%build
export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing"
@ -490,6 +487,7 @@ sed -i "s@%{_bindir}/env perl@%{_bindir}/perl@" %{buildroot}%{_datadir}/vim/%{VI
sed -i "s@%{_bindir}/env perl@%{_bindir}/perl@" %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/doc/vim2html.pl
%check
%ifnarch %{ix86}
# vim does quite an extensive test relying on a full fledged terminal
# inside OBS, stdio is redirected to a serial console (where the build log
# is being recorded/extracted. Systemd set non-local tty by default to vt220
@ -498,6 +496,7 @@ export TERM=xterm
# Reset the terminal scrolling region left behind by the testsuite
trap "printf '\e[r'" EXIT
TEST_IGNORE_FLAKY=1 LC_ALL=en_US.UTF-8 make -j1 test
%endif
%if %{with libalternatives}
# with libalternatives