summaryrefslogtreecommitdiff
blob: 2dcef60d61d1bf277e479876afea0b8275666b42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
https://trac.xiph.org/ticket/1423

Index: libtheora-1.0beta3/tests/Makefile.am
===================================================================
--- libtheora-1.0beta3.orig/tests/Makefile.am
+++ libtheora-1.0beta3/tests/Makefile.am
@@ -13,12 +13,19 @@ test: check
 
 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)