Patch 8.2.1267

3 views
Skip to first unread message

Bram Moolenaar

unread,
Jul 22, 2020, 12:15:57 PM7/22/20
to vim...@googlegroups.com

Patch 8.2.1267
Problem: MS-Windows: tests may fail due to $PROMPT value.
Solution: Set $PROMPT for testing. (Taro Muraoka, closes #6510)
Files: src/testdir/runtest/vim


*** ../vim-8.2.1266/src/testdir/runtest.vim 2020-07-18 22:03:07.661076057 +0200
--- src/testdir/runtest.vim 2020-07-22 18:14:36.772622233 +0200
***************
*** 117,122 ****
--- 117,127 ----

let s:srcdir = expand('%:p:h:h')

+ if has('win32')
+ " avoid prompt that is long or contains a line break
+ let $PROMPT = '$P$G'
+ endif
+
" Prepare for calling test_garbagecollect_now().
let v:testing = 1

*** ../vim-8.2.1266/src/version.c 2020-07-21 22:34:37.909099597 +0200
--- src/version.c 2020-07-21 23:00:44.143342520 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1267,
/**/

--
Be thankful to be in a traffic jam, because it means you own a car.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages