Skip to content

Commit 541faf7

Browse files
committed
patch 8.1.1508: sound keeps failing on Travis
Problem: Sound keeps failing on Travis. Solution: Throw a skipped exception in the test.
1 parent a90998d commit 541faf7

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/testdir/test_sound.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ func Test_play_silent()
2727

2828
" play without callback
2929
let id1 = sound_playfile(fname)
30-
call assert_true(id1 > 0)
30+
if id1 == 0
31+
throw 'Skipped: playing a sound is not working'
32+
endif
3133

3234
" play until the end
3335
let id2 = sound_playfile(fname, 'PlayCallback')

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,8 @@ static char *(features[]) =
777777

778778
static int included_patches[] =
779779
{ /* Add new patch number below this line */
780+
/**/
781+
1508,
780782
/**/
781783
1507,
782784
/**/

0 commit comments

Comments
 (0)