[xiph-commits] r15266 - trunk/theora/tests
ivo at svn.xiph.org
ivo at svn.xiph.org
Sun Sep 7 17:43:57 PDT 2008
Author: ivo
Date: 2008-09-07 17:43:57 -0700 (Sun, 07 Sep 2008)
New Revision: 15266
Modified:
trunk/theora/tests/Makefile.am
Log:
Split encoder and decoder tests depending on configure settings. Patch by aballier from Gentoo. Closes #1423
Modified: trunk/theora/tests/Makefile.am
===================================================================
--- trunk/theora/tests/Makefile.am 2008-09-08 00:40:25 UTC (rev 15265)
+++ trunk/theora/tests/Makefile.am 2008-09-08 00:43:57 UTC (rev 15266)
@@ -13,12 +13,19 @@
TESTS_ENVIRONMENT = $(VALGRIND_ENVIRONMENT)
-TESTS = noop noop_theoraenc noop_theora \
- comment comment_theoradec comment_theora \
+TESTS_DEC = noop_theora \
+ comment comment_theoradec comment_theora
+
+TESTS_ENC = noop noop_theoraenc \
granulepos granulepos_theoraenc granulepos_theora
-noinst_PROGRAMS = $(TESTS)
+if THEORA_DISABLE_ENCODE
+TESTS = $(TESTS_DEC)
+else
+TESTS = $(TESTS_DEC) $(TESTS_ENC)
+endif
+check_PROGRAMS = $(TESTS)
# dummy call tests for the current api
noop_SOURCES = noop.c
noop_LDADD = $(THEORAENC_LIBS)
More information about the commits
mailing list