From 39c2d5dc95e46b8c1659b721521e4e438ab7d8a3 Mon Sep 17 00:00:00 2001 From: Vedant Paranjape Date: Wed, 8 Sep 2021 13:24:42 +0530 Subject: test: gstreamer: Factor out code into a base class A lot of code used in the single stream test is boiler plate and common across every gstreamer test. Factor out this code into a base class called GstreamerTest. Also update the gstreamer_single_stream_test to use the GstreamerTest base class. Signed-off-by: Vedant Paranjape Reviewed-by: Nicolas Dufresne Reviewed-by: Paul Elder Signed-off-by: Paul Elder --- test/gstreamer/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/gstreamer/meson.build') diff --git a/test/gstreamer/meson.build b/test/gstreamer/meson.build index b99aa0da..aca53b92 100644 --- a/test/gstreamer/meson.build +++ b/test/gstreamer/meson.build @@ -10,7 +10,7 @@ gstreamer_tests = [ gstreamer_dep = dependency('gstreamer-1.0', required: true) foreach t : gstreamer_tests - exe = executable(t[0], t[1], + exe = executable(t[0], t[1], 'gstreamer_test.cpp', dependencies : [libcamera_private, gstreamer_dep], link_with : test_libraries, include_directories : test_includes_internal) -- cgit v1.2.1