From 443d5c412277b25bfff04b2729f42049341d0058a2a8765ac8cef397ae272b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Tue, 22 Nov 2016 06:13:13 +0000 Subject: [PATCH] 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 --- vim.changes | 10 ++++++++++ vim.spec | 5 +++++ 2 files changed, 15 insertions(+) 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