summaryrefslogtreecommitdiff
path: root/tests/thetvdb/Makefile.am
blob: e028246f55f695f50bfa892ef955c1a0cdcc8842 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#
# Makefile.am
#
# Author: Victor Toso <me@victortoso.com>
#
# Copyright (C) 2014 Victor Toso. All rights reserved.

include $(top_srcdir)/gtester.mk

TEST_PROGS +=	\
	test_thetvdb_resolve_shows	\
	test_thetvdb_resolve_episodes \
	test_thetvdb_resolve_stress

test_thetvdb_defines =	\
	-DTHETVDB_PLUGIN_PATH=\""$(abs_top_builddir)/src/thetvdb/.libs/"\"	\
	-DTHETVDB_PLUGIN_TEST_DATA_PATH=\""$(abs_top_srcdir)/tests/thetvdb/data/"\"

test_thetvdb_resolve_shows_SOURCES =	\
	test_thetvdb_resolve_shows.c	\
	test_thetvdb_utils.h test_thetvdb_utils.c

test_thetvdb_resolve_shows_LDADD =	\
	@DEPS_LIBS@

test_thetvdb_resolve_shows_CFLAGS =	\
	@DEPS_CFLAGS@							\
	$(test_thetvdb_defines)

test_thetvdb_resolve_episodes_SOURCES =	\
	test_thetvdb_resolve_episodes.c	\
	test_thetvdb_utils.h test_thetvdb_utils.c

test_thetvdb_resolve_episodes_LDADD =	\
	@DEPS_LIBS@

test_thetvdb_resolve_episodes_CFLAGS =	\
	@DEPS_CFLAGS@								\
	$(test_thetvdb_defines)

test_thetvdb_resolve_stress_SOURCES =	\
	test_thetvdb_resolve_stress.c	\
	test_thetvdb_utils.h test_thetvdb_utils.c

test_thetvdb_resolve_stress_LDADD =	\
	@DEPS_LIBS@

test_thetvdb_resolve_stress_CFLAGS =	\
	@DEPS_CFLAGS@								\
	$(test_thetvdb_defines)

dist_noinst_DATA =		\
	data/config.ini		\
	data/adventure_time_get_series.txt		\
	data/adventure_time_series_all_en.zip		\
	data/boardwalk_empire_get_series.txt		\
	data/boardwalk_empire_series_all_en.zip		\
	data/csi_miami_get_series.txt		\
	data/csi_miami_series_all_en.zip	\
	data/felicity_get_series.txt		\
	data/felicity_series_all_en.zip		\
	data/house_get_series.txt		\
	data/house_series_all_en.zip		\
	data/naruto_get_series.txt		\
	data/naruto_series_all_en.zip		\
	data/les_experts_miami_get_series.txt

noinst_PROGRAMS = $(TEST_PROGS)

-include $(top_srcdir)/git.mk