mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
cog: Add orc test code for cog
Also look for cog.orc source file in the right place.
This commit is contained in:
parent
33108dec82
commit
8d761840d4
2 changed files with 20 additions and 4 deletions
|
@ -46,9 +46,9 @@ CLEANFILES = cogorc.c cogorc.h
|
|||
|
||||
EXTRA_DIST=cog.orc
|
||||
|
||||
cogorc.c: cog.orc
|
||||
$(ORCC) --implementation -o cogorc.c cog.orc
|
||||
cogorc.c: $(srcdir)/cog.orc
|
||||
$(ORCC) --implementation -o cogorc.c $(srcdir)/cog.orc
|
||||
|
||||
cogorc.h: cog.orc
|
||||
$(ORCC) --header -o cogorc.h cog.orc
|
||||
cogorc.h: $(srcdir)/cog.orc
|
||||
$(ORCC) --header -o cogorc.h $(srcdir)/cog.orc
|
||||
|
||||
|
|
|
@ -40,6 +40,21 @@ else
|
|||
GST_METADATA_TESTS =
|
||||
endif
|
||||
|
||||
if USE_COG
|
||||
COG_TESTS = cog-test
|
||||
else
|
||||
COG_TESTS =
|
||||
endif
|
||||
|
||||
BUILT_SOURCES = cog-test.c
|
||||
CLEANFILES = cog-test.c
|
||||
|
||||
cog-test.c: $(srcdir)/../../ext/cog/cog.orc
|
||||
$(ORCC) --test -o cog-test.c $(srcdir)/../../ext/cog/cog.orc
|
||||
|
||||
cog_test_SOURCES = cog-test.c
|
||||
cog_test_CFLAGS = $(COG_CFLAGS)
|
||||
cog_test_LDADD = -lorc-test-0.4 $(COG_LIBS)
|
||||
|
||||
equalizer_test_SOURCES = equalizer-test.c
|
||||
equalizer_test_CFLAGS = $(GST_CFLAGS)
|
||||
|
@ -58,5 +73,6 @@ output_selector_test_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|||
|
||||
|
||||
noinst_PROGRAMS = $(GST_SOUNDTOUCH_TESTS) $(GST_METADATA_TESTS) $(OSS4_TESTS) \
|
||||
$(COG_TESTS) \
|
||||
equalizer-test output-selector-test
|
||||
|
||||
|
|
Loading…
Reference in a new issue