diff --git a/vim.changes b/vim.changes index 0129420..5622f1f 100644 --- a/vim.changes +++ b/vim.changes @@ -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 diff --git a/vim.spec b/vim.spec index cbab623..e82710d 100644 --- a/vim.spec +++ b/vim.spec @@ -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