diff --git a/src/meson.build b/src/meson.build
index c1d52c732ab532fbb4137fdff1bcb39854185e22..d0879a656a7231d113856696bc43736f8db700e6 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -414,3 +414,26 @@ libvlccore = library(
 )
 
 libvlccore_dep = declare_dependency(link_with: libvlccore, sources: vlc_about)
+
+vlc_tests += {
+    'name' : 'input_es_out',
+    'sources' : files(
+        'input/test/es_out.c',
+        'input/es_out.c',
+        'input/es_out.h',
+        'input/source.c',
+        'input/source.h',
+        'input/item.c',
+        'input/item.h',
+        'clock/clock.c',
+        'clock/clock.h',
+        'text/strings.c',
+        'clock/clock_internal.c',
+        'clock/clock_internal.h',
+        'clock/input_clock.c',
+        'clock/input_clock.h',
+  ),
+  'suite' : ['src'],
+  'link_with' : [libvlccore],
+  'include_directories' : [include_directories('.')],
+}