summaryrefslogtreecommitdiff
path: root/tests/icles
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2009-11-20 13:13:36 +0100
committerDavid Schleef <ds@schleef.org>2009-11-20 13:14:50 +0100
commit8d761840d4d30dbbd38cda40ded0cee7e1747c71 (patch)
tree25dbee8cadf5da7f6c2056a8111d6fadfb46bbf9 /tests/icles
parent33108dec82105624086cf77149c4b4b39ba7bc49 (diff)
cog: Add orc test code for cog
Also look for cog.orc source file in the right place.
Diffstat (limited to 'tests/icles')
-rw-r--r--tests/icles/Makefile.am16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/icles/Makefile.am b/tests/icles/Makefile.am
index f2755a3fa..9ea9f1cfc 100644
--- a/tests/icles/Makefile.am
+++ b/tests/icles/Makefile.am
@@ -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