Accepting request 1001211 from editors
- Updated to version 9.0.0381, fixes the following problems * Using common name in tests leads to flaky tests. * VDM files are not recognized. * Shell command is displayed in message window. * Screen flickers when 'cmdheight' is zero. * When updating the whole screen a popup may not be redrawn. * Clearing screen causes flicker. * Godot shader files are not recognized. * Command line type of CmdlineChange differs from getcmdtype(). * Cannot use the message popup window directly. * Crash when no errors and 'quickfixtextfunc' is set. * Using common name in tests leads to flaky tests. * Some changes for cmdheight=0 are not needed. * items() does not work on a list. (Sergey Vlasov) * OLD_DIGRAPHS is unused. * ":highlight" hangs when 'cmdheight' is zero. * Method tests fail. * Cannot use items() on a string. * Overwrite check may block BufWriteCmd. * Method test fails. * Test does not properly clean up. * Checks for Dictionary argument often give a vague error message. * Tests are flaky because of using a common file name. * Flicker when resetting cmdline_row after updating the screen. * Return value of list_append_list() not always checked. * No check if the return value of XChangeGC() is NULL. * The 'cmdheight' zero support causes too much trouble. * mapset() does not restore <Nop> mapping properly. * ":wincmd =" equalizes in two directions. * ColorScheme autocommand triggered when colorscheme is not found. (Romain OBS-URL: https://build.opensuse.org/request/show/1001211 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vim?expand=0&rev=321
This commit is contained in:
commit
18d438fcab
@ -1,45 +0,0 @@
|
||||
Index: vim-8.2.4063/src/testdir/Make_all.mak
|
||||
===================================================================
|
||||
--- vim-8.2.4063.orig/src/testdir/Make_all.mak
|
||||
+++ vim-8.2.4063/src/testdir/Make_all.mak
|
||||
@@ -30,24 +30,18 @@ SCRIPTS_TINY_OUT = \
|
||||
|
||||
# Tests for Vim9 script.
|
||||
TEST_VIM9 = \
|
||||
- test_vim9_assign \
|
||||
test_vim9_builtin \
|
||||
test_vim9_cmd \
|
||||
test_vim9_disassemble \
|
||||
- test_vim9_expr \
|
||||
test_vim9_fails \
|
||||
- test_vim9_func \
|
||||
test_vim9_import \
|
||||
test_vim9_script
|
||||
|
||||
TEST_VIM9_RES = \
|
||||
- test_vim9_assign.res \
|
||||
test_vim9_builtin.res \
|
||||
test_vim9_cmd.res \
|
||||
test_vim9_disassemble.res \
|
||||
- test_vim9_expr.res \
|
||||
test_vim9_fails.res \
|
||||
- test_vim9_func.res \
|
||||
test_vim9_import.res \
|
||||
test_vim9_script.res
|
||||
|
||||
@@ -224,7 +218,6 @@ NEW_TESTS = \
|
||||
test_quickfix \
|
||||
test_quotestar \
|
||||
test_random \
|
||||
- test_recover \
|
||||
test_regex_char_classes \
|
||||
test_regexp_latin \
|
||||
test_regexp_utf8 \
|
||||
@@ -460,7 +453,6 @@ NEW_TESTS_RES = \
|
||||
test_quickfix.res \
|
||||
test_quotestar.res \
|
||||
test_random.res \
|
||||
- test_recover.res \
|
||||
test_regex_char_classes.res \
|
||||
test_registers.res \
|
||||
test_rename.res \
|
20
ignore-flaky-test-failure.patch
Normal file
20
ignore-flaky-test-failure.patch
Normal file
@ -0,0 +1,20 @@
|
||||
Index: vim-9.0.0313/src/testdir/runtest.vim
|
||||
===================================================================
|
||||
--- vim-9.0.0313.orig/src/testdir/runtest.vim
|
||||
+++ vim-9.0.0313/src/testdir/runtest.vim
|
||||
@@ -482,8 +482,13 @@ for g:testfunc in sort(s:tests)
|
||||
call extend(total_errors, v:errors)
|
||||
|
||||
if g:run_nr >= 5 || prev_error == v:errors[0]
|
||||
- call add(total_errors, 'Flaky test failed too often, giving up')
|
||||
- let v:errors = total_errors
|
||||
+ if $TEST_IGNORE_FLAKY != ''
|
||||
+ call add(s:messages, 'Flaky test failed too often, ignoring')
|
||||
+ let v:errors = []
|
||||
+ else
|
||||
+ call add(total_errors, 'Flaky test failed too often, giving up')
|
||||
+ let v:errors = total_errors
|
||||
+ endif
|
||||
break
|
||||
endif
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0eaf11e7f94070aa58ade1fe7c3ed65e185a05d447e28430362a8dd572c521fa
|
||||
size 16808286
|
3
vim-9.0.0381.tar.gz
Normal file
3
vim-9.0.0381.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7fe9855eef941d23efa06729184477769e1fae94c09dfd29e74f3d1e96cfb403
|
||||
size 16831181
|
77
vim.changes
77
vim.changes
@ -1,3 +1,80 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 5 07:42:36 UTC 2022 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
- Updated to version 9.0.0381, fixes the following problems
|
||||
* Using common name in tests leads to flaky tests.
|
||||
* VDM files are not recognized.
|
||||
* Shell command is displayed in message window.
|
||||
* Screen flickers when 'cmdheight' is zero.
|
||||
* When updating the whole screen a popup may not be redrawn.
|
||||
* Clearing screen causes flicker.
|
||||
* Godot shader files are not recognized.
|
||||
* Command line type of CmdlineChange differs from getcmdtype().
|
||||
* Cannot use the message popup window directly.
|
||||
* Crash when no errors and 'quickfixtextfunc' is set.
|
||||
* Using common name in tests leads to flaky tests.
|
||||
* Some changes for cmdheight=0 are not needed.
|
||||
* items() does not work on a list. (Sergey Vlasov)
|
||||
* OLD_DIGRAPHS is unused.
|
||||
* ":highlight" hangs when 'cmdheight' is zero.
|
||||
* Method tests fail.
|
||||
* Cannot use items() on a string.
|
||||
* Overwrite check may block BufWriteCmd.
|
||||
* Method test fails.
|
||||
* Test does not properly clean up.
|
||||
* Checks for Dictionary argument often give a vague error message.
|
||||
* Tests are flaky because of using a common file name.
|
||||
* Flicker when resetting cmdline_row after updating the screen.
|
||||
* Return value of list_append_list() not always checked.
|
||||
* No check if the return value of XChangeGC() is NULL.
|
||||
* The 'cmdheight' zero support causes too much trouble.
|
||||
* mapset() does not restore <Nop> mapping properly.
|
||||
* ":wincmd =" equalizes in two directions.
|
||||
* ColorScheme autocommand triggered when colorscheme is not found. (Romain
|
||||
Lafourcade)
|
||||
* Error message for list argument could be clearer.
|
||||
* :horizontal modifier not fully supported.
|
||||
* Filetype of *.sil files not well detected.
|
||||
* :echowindow does not work in a compiled function.
|
||||
* Message window may obscure the command line.
|
||||
* using :echowindow in a timer clears part of message
|
||||
* Missing entry in switch.
|
||||
* Check for uppercase char in autoload name is wrong, it checks the name
|
||||
of the script.
|
||||
* :echowindow sets the in_echowindow flag too early.
|
||||
* 'linebreak' interferes with text property highlight if there is syntax
|
||||
highlighting.
|
||||
* 'breakindent' does not indent non-lists with "breakindentopt=list:-1".
|
||||
* Error message for wrong argument type is not specific.
|
||||
* Crash when invalid line number on :for is ignored.
|
||||
* Removing a listener may result in a memory leak and remove subsequent
|
||||
listerns.
|
||||
* Expanding ":e %" does not work for remote files.
|
||||
* Common names in test files causes tests to be flaky.
|
||||
* Clang static analyzer gives warnings.
|
||||
* File name used in test is unusual.
|
||||
* Cannot use import->Func() in lambda. (Israel Chauca Fuentes)
|
||||
* Coverity complains about dropping sign of character.
|
||||
* Old Coverity warning for using NULL pointer.
|
||||
* A failing flaky test doesn't mention the time.
|
||||
* Cleaning up afterwards can make a function messy.
|
||||
* Compiler warning for uninitialized variable.
|
||||
* Coverity warns for NULL check and unused return value.
|
||||
* Coverity still complains about dropping sign of character.
|
||||
* The footer feature is unused.
|
||||
* Clang warns for dead assignments.
|
||||
* Argument assignment does not work.
|
||||
* Compiler warning for uninitialized variable. (Tony Mechelynck)
|
||||
* Cleaning up after writefile() is a hassle.
|
||||
* Deleting files in tests is a hassle.
|
||||
* Writefile test leaves files behind.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 30 11:28:55 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- ignore-flaky-test-failure.patch: Ignore failure of flaky tests
|
||||
- disable-unreliable-tests-arch.patch: Removed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 29 12:29:14 UTC 2022 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
13
vim.spec
13
vim.spec
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
%define pkg_version 9.0
|
||||
%define patchlevel 0313
|
||||
%define patchlevel 0381
|
||||
%define patchlevel_compact %{patchlevel}
|
||||
%define VIM_SUBDIR vim90
|
||||
%define site_runtimepath %{_datadir}/vim/site
|
||||
@ -73,7 +73,7 @@ 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
|
||||
Patch25: disable-unreliable-tests-arch.patch
|
||||
Patch25: ignore-flaky-test-failure.patch
|
||||
Patch100: vim73-no-static-libpython.patch
|
||||
Patch101: vim-8.0.1568-defaults.patch
|
||||
# https://github.com/vim/vim/issues/3348 - problem more probadly in buildenv than in test
|
||||
@ -213,9 +213,7 @@ cp %{SOURCE23} runtime/syntax/apparmor.vim
|
||||
%patch22 -p1
|
||||
%patch23 -p1
|
||||
%patch24 -p1
|
||||
%ifarch s390x %{arm} aarch64 riscv64
|
||||
%patch25 -p1
|
||||
%endif
|
||||
%patch100 -p1
|
||||
%patch101 -p1
|
||||
%patch102 -p1
|
||||
@ -480,12 +478,7 @@ sed -i "s@%{_bindir}/env perl@%{_bindir}/perl@" %{buildroot}%{_datadir}/vim/%{VI
|
||||
export TERM=xterm
|
||||
# Reset the terminal scrolling region left behind by the testsuite
|
||||
trap "printf '\e[r'" EXIT
|
||||
# Look for "TEST FAILURE" in the build log
|
||||
%ifarch ppc ppc64 ppc64le
|
||||
LC_ALL=en_US.UTF-8 make -j1 test || { echo "Ignore transient errors for PowerPC. boo#1072651"; }
|
||||
%else
|
||||
LC_ALL=en_US.UTF-8 make -j1 test
|
||||
%endif
|
||||
TEST_IGNORE_FLAKY=1 LC_ALL=en_US.UTF-8 make -j1 test
|
||||
|
||||
%if %{with libalternatives}
|
||||
# with libalternatives
|
||||
|
Loading…
x
Reference in New Issue
Block a user