Accepting request 533609 from editors

- Add disable-unreliable-tests.patch to disable unreliable tests
  bsc#1054723

OBS-URL: https://build.opensuse.org/request/show/533609
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vim?expand=0&rev=194
This commit is contained in:
Dominique Leuenberger 2017-10-18 10:49:57 +00:00 committed by Git OBS Bridge
commit 588f5dfc7d
3 changed files with 37 additions and 2 deletions

View File

@ -0,0 +1,25 @@
Index: vim-8.0.0627/src/testdir/test_alot.vim
===================================================================
--- vim-8.0.0627.orig/src/testdir/test_alot.vim
+++ vim-8.0.0627/src/testdir/test_alot.vim
@@ -32,12 +32,10 @@ source test_join.vim
source test_jumps.vim
source test_lambda.vim
source test_lispwords.vim
-source test_mapping.vim
source test_match.vim
source test_menu.vim
source test_messages.vim
source test_partial.vim
-source test_popup.vim
source test_put.vim
source test_recover.vim
source test_reltime.vim
@@ -51,7 +49,6 @@ source test_tabpage.vim
source test_tagcase.vim
source test_tagjump.vim
source test_taglist.vim
-source test_timers.vim
source test_true_false.vim
source test_unlet.vim
source test_window_cmd.vim

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 12 07:56:31 UTC 2017 - idonmez@suse.com
- Add disable-unreliable-tests.patch to disable unreliable tests
bsc#1054723
-------------------------------------------------------------------
Mon Jun 19 10:57:45 UTC 2017 - idonmez@suse.com

View File

@ -58,6 +58,7 @@ Patch18: %{name}-7.3-filetype_spec.patch
Patch21: %{name}-7.3-filetype_changes.patch
Patch22: %{name}-7.4-filetype_mine.patch
Patch23: vim-8.0-ttytype-test.patch
Patch24: disable-unreliable-tests.patch
Patch100: vim73-no-static-libpython.patch
BuildRequires: autoconf
BuildRequires: db-devel
@ -155,11 +156,14 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch24 -p1
%patch100 -p1
cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} .
# XXX FIXME
rm ./src/testdir/test_cmdline.vim
# Unreliable tests
# See also disable-unreliable-tests.patch
rm src/testdir/test_cmdline.*
rm src/testdir/test_channel.*
%build
export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing"