Accepting request 441243 from home:dimstar:Factory

- Export "TERM=linux" before running the test suite: 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 in upcoming versions (which the vi test suite fails to
  run on; this should be considered a vim bug).

OBS-URL: https://build.opensuse.org/request/show/441243
OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=395
This commit is contained in:
Ismail Dönmez 2016-11-22 06:13:13 +00:00 committed by Git OBS Bridge
parent 4d7ecde70c
commit 443d5c4122
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Nov 21 16:01:17 UTC 2016 - dimstar@opensuse.org
- Export "TERM=linux" before running the test suite: 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 in upcoming versions (which the vi test suite fails to
run on; this should be considered a vim bug).
-------------------------------------------------------------------
Fri Nov 18 08:47:34 UTC 2016 - idonmez@suse.com

View File

@ -330,6 +330,11 @@ mkdir -p %{buildroot}/var/run/vi.recover
%fdupes -s %{buildroot}%{_datadir}/vim/%{VIM_SUBDIR}/ftplugin
%check
# 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
# in upcoming versions
export TERM=linux
# Reset the terminal scrolling region left behind by the testsuite
trap "printf '\e[r'" EXIT
# Look for "TEST FAILURE" in the build log