Ismail Dönmez 2017-10-12 08:04:08 +00:00 committed by Git OBS Bridge
parent a98ce40d90
commit 7283164ff3

View File

@ -158,11 +158,6 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim
%patch100 -p1
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
# Unreliable test
rm ./src/testdir/test_cmdline.vim
rm ./src/testdir/test86*
rm ./src/testdir/test87*
%build
export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing"
export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=1}
@ -331,9 +326,9 @@ mkdir -p %{buildroot}%{_localstatedir}/run/vi.recover
# 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
# in upcoming versions
export TERM=linux
export TERM=dumb
# Reset the terminal scrolling region left behind by the testsuite
trap "printf '\e[r'" EXIT
#trap "printf '\e[r'" EXIT
# Look for "TEST FAILURE" in the build log
LC_ALL=en_US.UTF-8 make test