Debian Codegraph @

tests/Makefile.am

raw
1 ## Copyright 2009 The gstreamermm Development Team
2 ##
3 ## This library is free software: you can redistribute it and/or modify it
4 ## under the terms of the GNU Lesser General Public License as published
5 ## by the Free Software Foundation, either version 2.1 of the License,
6 ## or (at your option) any later version.
7 ##
8 ## This library is distributed in the hope that it will be useful,
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 ## Lesser General Public License for more details.
12 ##
13 ## You should have received a copy of the GNU Lesser General Public License
14 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16 gstreamermm_includes = -I$(top_builddir)/gstreamer $(if $(srcdir:.=),-I$(top_srcdir)/gstreamer)
17 local_libgstreamermm = $(top_builddir)/gstreamer/gstreamermm/libgstreamermm-$(GSTREAMERMM_API_VERSION).la
18 AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir) $(gstreamermm_includes) $(GSTREAMERMM_CFLAGS) -std=c++0x -Wall -Werror -Wextra
19 AM_CXXFLAGS = $(GSTREAMERMM_WXXFLAGS) -g -Wno-missing-field-initializers
20 LDADD = $(GSTREAMERMM_LIBS) $(local_libgstreamermm) -lgtest -lpthread
21
22 CLEANFILES = test-integration-bininpipeline-output-image.jpg
23
24 check_PROGRAMS = \
25 test-allocator \
26 test-atomicqueue \
27 test-bin \
28 test-buffer \
29 test-bufferlist \
30 test-bus \
31 test-caps \
32 test-capsfeatures \
33 test-element \
34 test-ghostpad \
35 test-init \
36 test-iterator \
37 test-memory \
38 test-message \
39 test-miniobject \
40 test-pad \
41 test-pipeline \
42 test-query \
43 test-sample \
44 test-structure \
45 test-taglist \
46 test-urihandler \
47 test-value \
48 \
49 test-plugin-appsink \
50 test-plugin-appsrc \
51 test-plugin-derivedfromappsink \
52 test-plugin-derivedfromappsrc \
53 test-plugin-derivedfrombasetransform \
54 test-plugin-pushsrc \
55 test-plugin-register \
56 \
57 test-integration-bininpipeline \
58 test-integration-binplugin \
59 test-integration-rewritefile \
60 test-integration-seekonstartup \
61 test-integration-videoduration
62
63
64 # Include run of test programs in check:
65 TESTS = $(check_PROGRAMS)
66 TEST_GTEST_SOURCES = main.cc
67 TEST_INTEGRATION_UTILS = integration/utils.cc
68
69 test_allocator_SOURCES = $(TEST_GTEST_SOURCES) test-allocator.cc
70 test_atomicqueue_SOURCES = $(TEST_GTEST_SOURCES) test-atomicqueue.cc
71 test_bin_SOURCES = $(TEST_GTEST_SOURCES) test-bin.cc
72 test_buffer_SOURCES = $(TEST_GTEST_SOURCES) test-buffer.cc
73 test_bufferlist_SOURCES = $(TEST_GTEST_SOURCES) test-bufferlist.cc
74 test_bus_SOURCES = $(TEST_GTEST_SOURCES) test-bus.cc
75 test_capsfeatures_SOURCES = $(TEST_GTEST_SOURCES) test-capsfeatures.cc
76 test_caps_SOURCES = $(TEST_GTEST_SOURCES) test-caps.cc
77 test_element_SOURCES = $(TEST_GTEST_SOURCES) test-element.cc
78 test_ghostpad_SOURCES = $(TEST_GTEST_SOURCES) test-ghostpad.cc
79 test_init_SOURCES = $(TEST_GTEST_SOURCES) test-init.cc
80 test_iterator_SOURCES = $(TEST_GTEST_SOURCES) test-iterator.cc
81 test_memory_SOURCES = $(TEST_GTEST_SOURCES) test-memory.cc
82 test_message_SOURCES = $(TEST_GTEST_SOURCES) test-message.cc
83 test_miniobject_SOURCES = $(TEST_GTEST_SOURCES) test-miniobject.cc
84 test_pad_SOURCES = $(TEST_GTEST_SOURCES) test-pad.cc
85 test_pipeline_SOURCES = $(TEST_GTEST_SOURCES) test-pipeline.cc
86 test_query_SOURCES = $(TEST_GTEST_SOURCES) test-query.cc
87 test_sample_SOURCES = $(TEST_GTEST_SOURCES) test-sample.cc
88 test_structure_SOURCES = $(TEST_GTEST_SOURCES) test-structure.cc
89 test_taglist_SOURCES = $(TEST_GTEST_SOURCES) test-taglist.cc
90 test_urihandler_SOURCES = $(TEST_GTEST_SOURCES) test-urihandler.cc
91 test_value_SOURCES = $(TEST_GTEST_SOURCES) test-value.cc
92
93 test_plugin_appsink_SOURCES = $(TEST_GTEST_SOURCES) plugins/test-plugin-appsink.cc
94 test_plugin_appsrc_SOURCES = $(TEST_GTEST_SOURCES) plugins/test-plugin-appsrc.cc
95 test_plugin_derivedfromappsink_SOURCES = $(TEST_GTEST_SOURCES) plugins/test-plugin-derivedfromappsink.cc
96 test_plugin_derivedfromappsrc_SOURCES = $(TEST_GTEST_SOURCES) plugins/test-plugin-derivedfromappsrc.cc
97 test_plugin_derivedfrombasetransform_SOURCES = $(TEST_GTEST_SOURCES) plugins/test-plugin-derivedfrombasetransform.cc
98 test_plugin_pushsrc_SOURCES = $(TEST_GTEST_SOURCES) plugins/test-plugin-pushsrc.cc
99 test_plugin_register_SOURCES = $(TEST_GTEST_SOURCES) plugins/test-plugin-register.cc
100
101 test_integration_bininpipeline_SOURCES = $(TEST_GTEST_SOURCES) $(TEST_INTEGRATION_UTILS) integration/test-integration-bininpipeline.cc
102 test_integration_binplugin_SOURCES = $(TEST_GTEST_SOURCES) integration/test-integration-binplugin.cc
103 test_integration_rewritefile_SOURCES = $(TEST_GTEST_SOURCES) $(TEST_INTEGRATION_UTILS) integration/test-integration-rewritefile.cc
104 test_integration_seekonstartup_SOURCES = $(TEST_GTEST_SOURCES) $(TEST_INTEGRATION_UTILS) integration/test-integration-seekonstartup.cc
105 test_integration_videoduration_SOURCES = $(TEST_GTEST_SOURCES) $(TEST_INTEGRATION_UTILS) integration/test-integration-videoduration.cc