Commit aa734286 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Also test libvlc_playlist_clear and libvlc_playlist_add_extended

parent 8837d3d6
......@@ -49,6 +49,7 @@ int main (int argc, char *argv[])
{
libvlc_instance_t *vlc;
const char *args[argc + 3];
int id;
alarm (30); /* Make sure "make check" does not get stuck */
......@@ -63,6 +64,16 @@ int main (int argc, char *argv[])
vlc = libvlc_new (sizeof (args) / sizeof (args[0]), args, &ex);
catch ();
libvlc_playlist_clear (vlc, &ex);
catch ();
id = libvlc_playlist_add_extended (vlc, "/dev/null", "Test", 0, NULL,
&ex);
catch ();
libvlc_playlist_clear (vlc, &ex);
catch ();
libvlc_destroy (vlc, &ex);
catch ();
return 0;
......
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