0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.1.1508: sound keeps failing on Travis

Problem:    Sound keeps failing on Travis.
Solution:   Throw a skipped exception in the test.
This commit is contained in:
Bram Moolenaar
2019-06-09 15:35:41 +02:00
parent a90998d93a
commit 541faf7a73
2 changed files with 5 additions and 1 deletions

View File

@@ -27,7 +27,9 @@ func Test_play_silent()
" play without callback
let id1 = sound_playfile(fname)
call assert_true(id1 > 0)
if id1 == 0
throw 'Skipped: playing a sound is not working'
endif
" play until the end
let id2 = sound_playfile(fname, 'PlayCallback')

View File

@@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1508,
/**/
1507,
/**/