diff --git a/disable-unreliable-tests.patch b/disable-unreliable-tests.patch index f9ad075..2f92dbe 100644 --- a/disable-unreliable-tests.patch +++ b/disable-unreliable-tests.patch @@ -2,7 +2,12 @@ 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 -@@ -37,7 +37,6 @@ source test_match.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 @@ -10,7 +15,7 @@ Index: vim-8.0.0627/src/testdir/test_alot.vim source test_put.vim source test_recover.vim source test_reltime.vim -@@ -51,7 +50,6 @@ source test_tabpage.vim +@@ -51,7 +49,6 @@ source test_tabpage.vim source test_tagcase.vim source test_tagjump.vim source test_taglist.vim diff --git a/vim.spec b/vim.spec index ee99d3e..be5b259 100644 --- a/vim.spec +++ b/vim.spec @@ -160,6 +160,9 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim %patch100 -p1 cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} . +# Unreliable tests +rm src/testdir/test_cmdline.* + %build export CFLAGS="%{optflags} -Wall -pipe -fno-strict-aliasing" export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=1}