From 972478a4bfc0912fbca4b2666589c5f7a6336a2034664388e21e8f608343eb5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Wed, 29 Nov 2017 14:11:38 +0000 Subject: [PATCH] - OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=458 --- disable-unreliable-tests.patch | 11 +++++++++++ vim.spec | 1 + 2 files changed, 12 insertions(+) diff --git a/disable-unreliable-tests.patch b/disable-unreliable-tests.patch index 2d46b4a..bd5fcad 100644 --- a/disable-unreliable-tests.patch +++ b/disable-unreliable-tests.patch @@ -23,3 +23,14 @@ Index: vim-8.0.1358/src/testdir/test_alot.vim source test_true_false.vim source test_unlet.vim source test_virtualedit.vim +Index: vim-8.0.1358/src/testdir/Makefile +=================================================================== +--- vim-8.0.1358.orig/src/testdir/Makefile ++++ vim-8.0.1358/src/testdir/Makefile +@@ -142,6 +142,3 @@ test_gui_init.res: test_gui_init.vim + @echo "$(RUN_GVIMTEST_WITH_GVIMRC)" >> vimcmd + $(RUN_VIMTEST) -u gui_preinit.vim -U gui_init.vim $(NO_PLUGINS) -S runtest.vim $< + @rm vimcmd +- +-opt_test.vim: ../option.c gen_opt_test.vim +- $(VIMPROG) -u NONE -S gen_opt_test.vim --noplugin --not-a-term ../option.c diff --git a/vim.spec b/vim.spec index b6e85e4..5d00b59 100644 --- a/vim.spec +++ b/vim.spec @@ -164,6 +164,7 @@ cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} . # See also disable-unreliable-tests.patch rm src/testdir/test_cmdline.* rm src/testdir/test_channel.* +rm src/testdir/gen_opt_test.vim rm src/testdir/test_options.* rm src/testdir/test_writefile.*