[vlc-commits] src: fix missing symbol in some test cases
Rémi Denis-Courmont
git at videolan.org
Sun Jul 14 11:29:53 CEST 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 14 12:28:00 2019 +0300| [2892fff47bb7665ad9aba5df203757adacc5ddb4] | committer: Rémi Denis-Courmont
src: fix missing symbol in some test cases
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2892fff47bb7665ad9aba5df203757adacc5ddb4
---
src/test/interrupt.c | 2 ++
src/test/picture_pool.c | 2 ++
src/test/sort.c | 2 ++
src/test/timer.c | 2 ++
src/test/url.c | 2 ++
src/test/xmlent.c | 2 ++
6 files changed, 12 insertions(+)
diff --git a/src/test/interrupt.c b/src/test/interrupt.c
index 6b1bffbdf0..2e6c7efa6a 100644
--- a/src/test/interrupt.c
+++ b/src/test/interrupt.c
@@ -32,6 +32,8 @@
#include <vlc_interrupt.h>
#include <vlc_network.h>
+const char vlc_module_name[] = "test_interrupt";
+
static vlc_sem_t sem;
static int fds[2];
diff --git a/src/test/picture_pool.c b/src/test/picture_pool.c
index 35229cf66b..af2d36a06b 100644
--- a/src/test/picture_pool.c
+++ b/src/test/picture_pool.c
@@ -32,6 +32,8 @@
#define PICTURES 10
+const char vlc_module_name[] = "test_picture_pool";
+
static video_format_t fmt;
static picture_pool_t *pool, *reserve;
diff --git a/src/test/sort.c b/src/test/sort.c
index 0b9fcdae30..b3bd944768 100644
--- a/src/test/sort.c
+++ b/src/test/sort.c
@@ -28,6 +28,8 @@
#include <vlc_common.h>
#include <vlc_strings.h>
+const char vlc_module_name[] = "test_sort";
+
static void test_smaller(const char *small, const char *big,
int (*cmp)(const char *, const char *))
{
diff --git a/src/test/timer.c b/src/test/timer.c
index 539f8cd5c3..1162305fe2 100644
--- a/src/test/timer.c
+++ b/src/test/timer.c
@@ -30,6 +30,8 @@
#include <vlc_common.h>
#undef vlc_tick_sleep
+const char vlc_module_name[] = "test_timer";
+
struct timer_data
{
vlc_timer_t timer;
diff --git a/src/test/url.c b/src/test/url.c
index 38dde8c1dc..a3a7c77847 100644
--- a/src/test/url.c
+++ b/src/test/url.c
@@ -30,6 +30,8 @@
#include <vlc_url.h>
#include <vlc_strings.h>
+const char vlc_module_name[] = "test_url";
+
static int exitcode = 0;
static void test_compare(const char *in, const char *exp, const char *res)
diff --git a/src/test/xmlent.c b/src/test/xmlent.c
index 46c04bb006..e3d7f6b843 100644
--- a/src/test/xmlent.c
+++ b/src/test/xmlent.c
@@ -29,6 +29,8 @@
#include <vlc_common.h>
#include <vlc_strings.h>
+const char vlc_module_name[] = "test_xmlent";
+
static void decode (const char *in, const char *out)
{
char buf[strlen (in) + 1];
More information about the vlc-commits
mailing list