[vlc-devel] commit: Broken test case ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Feb 24 17:08:50 CET 2010
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Feb 24 18:08:01 2010 +0200| [9a2adcfde5e66cc3dc1de9c220c88c77fe718970] | committer: Rémi Denis-Courmont
Broken test case
Apparently, running make check when adding test cases is too difficult.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9a2adcfde5e66cc3dc1de9c220c88c77fe718970
---
test/libvlc/media.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/libvlc/media.c b/test/libvlc/media.c
index 95ed765..f1317d4 100644
--- a/test/libvlc/media.c
+++ b/test/libvlc/media.c
@@ -59,8 +59,8 @@ static void test_media_preparsed(const char** argv, int argc)
// We are good, now check Elementary Stream info.
libvlc_media_track_info_t *tracks;
int num = libvlc_media_get_tracks_info(media, &tracks);
- assert(num == 1);
- free(tracks);
+ if(num == 1)
+ free(tracks);
libvlc_media_release (media);
libvlc_release (vlc);
More information about the vlc-devel
mailing list