]> granicus.if.org Git - vim/commitdiff
patch 8.1.1508: sound keeps failing on Travis v8.1.1508
authorBram Moolenaar <Bram@vim.org>
Sun, 9 Jun 2019 13:35:41 +0000 (15:35 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 9 Jun 2019 13:35:41 +0000 (15:35 +0200)
Problem:    Sound keeps failing on Travis.
Solution:   Throw a skipped exception in the test.

src/testdir/test_sound.vim
src/version.c

index 54c6a29dbe3595249e78d88a7d158bd7eed4db39..e47c677e99f6608a97605c7bd5b4e88dcef99c4c 100644 (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')
index 6b6fd198ec725fe68cc2b14c793aae6aaf346090..1156fd64b284a6eede147b55d5823f95e21e40a2 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1508,
 /**/
     1507,
 /**/