summaryrefslogtreecommitdiff
path: root/user/vlc/fix-testing.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-01 05:29:09 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-01 05:29:09 +0000
commit49db7988ec062cc42f31afb6df25f9afeed60938 (patch)
treef95fc0b418ec64747a6809c92104b818e7cf4cbe /user/vlc/fix-testing.patch
parentcdad188dda65a63cf9926389ae2ea50f999439c9 (diff)
downloadpackages-49db7988ec062cc42f31afb6df25f9afeed60938.tar.gz
packages-49db7988ec062cc42f31afb6df25f9afeed60938.tar.bz2
packages-49db7988ec062cc42f31afb6df25f9afeed60938.tar.xz
packages-49db7988ec062cc42f31afb6df25f9afeed60938.zip
user/vlc: fix tests on at least i586, maybe others
Diffstat (limited to 'user/vlc/fix-testing.patch')
-rw-r--r--user/vlc/fix-testing.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/vlc/fix-testing.patch b/user/vlc/fix-testing.patch
new file mode 100644
index 000000000..c16546af7
--- /dev/null
+++ b/user/vlc/fix-testing.patch
@@ -0,0 +1,11 @@
+--- vlc-3.0.3/test/src/interface/dialog.c.old 2017-11-24 09:29:18.000000000 -0600
++++ vlc-3.0.3/test/src/interface/dialog.c 2018-07-31 04:33:23.135819785 -0500
+@@ -302,7 +302,7 @@
+ };
+ struct cb_answer ans = { 0 };
+ vlc_dialog_provider_set_callbacks(p_libvlc->p_libvlc_int, &cbs, &ans);
+- test_dialogs(VLC_OBJECT(p_libvlc->p_libvlc_int), &ans, 100000);
++ test_dialogs(VLC_OBJECT(p_libvlc->p_libvlc_int), &ans, VLC_HARD_MIN_SLEEP * 30);
+ vlc_dialog_provider_set_callbacks(p_libvlc->p_libvlc_int, NULL, NULL);
+
+ libvlc_release(p_libvlc);