Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libtheora/files: libtheora-1.0_beta3-tests.patch
Date: Sun, 07 Sep 2008 22:02:12
Message-Id: E1KcSKg-00012Y-4Z@stork.gentoo.org
1 aballier 08/09/07 22:02:10
2
3 Added: libtheora-1.0_beta3-tests.patch
4 Log:
5 Don't run encoder tests without use encode, bug #212315
6 (Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64)
7
8 Revision Changes Path
9 1.1 media-libs/libtheora/files/libtheora-1.0_beta3-tests.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libtheora/files/libtheora-1.0_beta3-tests.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libtheora/files/libtheora-1.0_beta3-tests.patch?rev=1.1&content-type=text/plain
13
14 Index: libtheora-1.0_beta3-tests.patch
15 ===================================================================
16 https://trac.xiph.org/ticket/1423
17
18 Index: libtheora-1.0beta3/tests/Makefile.am
19 ===================================================================
20 --- libtheora-1.0beta3.orig/tests/Makefile.am
21 +++ libtheora-1.0beta3/tests/Makefile.am
22 @@ -13,12 +13,19 @@ test: check
23
24 TESTS_ENVIRONMENT = $(VALGRIND_ENVIRONMENT)
25
26 -TESTS = noop noop_theoraenc noop_theora \
27 - comment comment_theoradec comment_theora \
28 +TESTS_DEC = noop_theora \
29 + comment comment_theoradec comment_theora
30 +
31 +TESTS_ENC = noop noop_theoraenc \
32 granulepos granulepos_theoraenc granulepos_theora
33
34 -noinst_PROGRAMS = $(TESTS)
35 +if THEORA_DISABLE_ENCODE
36 +TESTS = $(TESTS_DEC)
37 +else
38 +TESTS = $(TESTS_DEC) $(TESTS_ENC)
39 +endif
40
41 +check_PROGRAMS = $(TESTS)
42 # dummy call tests for the current api
43 noop_SOURCES = noop.c
44 noop_LDADD = $(THEORAENC_LIBS)