Commit 099bacb2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

media_list test is safe to run

parent b632da4e
...@@ -10,9 +10,9 @@ AUTOMAKE_OPTIONS = subdir-objects ...@@ -10,9 +10,9 @@ AUTOMAKE_OPTIONS = subdir-objects
check_PROGRAMS = \ check_PROGRAMS = \
test_libvlc_core \ test_libvlc_core \
test_libvlc_events \ test_libvlc_events \
test_libvlc_media_list \
$(NULL) $(NULL)
EXTRA_PROGRAMS = \ EXTRA_PROGRAMS = \
test_libvlc_media_list \
test_libvlc_media_list_player \ test_libvlc_media_list_player \
test_libvlc_media_player \ test_libvlc_media_player \
test_libvlc_meta \ test_libvlc_meta \
......
...@@ -115,7 +115,7 @@ static void test_media_list (const char ** argv, int argc) ...@@ -115,7 +115,7 @@ static void test_media_list (const char ** argv, int argc)
p_non_exist = libvlc_media_list_item_at_index (ml, -1, &ex); p_non_exist = libvlc_media_list_item_at_index (ml, -1, &ex);
assert (have_exception ()); assert (have_exception ());
md4 = libvlc_media_new (vlc, "/dev/dsp", &ex); md4 = libvlc_media_new (vlc, "/dev/null", &ex);
catch (); catch ();
/* try to find non inserted item */ /* try to find non inserted item */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment