3 t/format_default_nonhttp.t \
14 TESTS_LIB = lib/Test/Quvi.pm
17 data/resolve/inscript_redirect.json \
18 data/resolve/shortened.json \
19 data/format/default/megavideo.json \
20 data/format/default/charlierose.json \
21 data/format/default/liveleak.json \
22 data/format/default/publicsenat.json \
23 data/format/default/tmunderground.json \
24 data/format/default/gaskrank.json \
25 data/format/default/spiegel.json \
26 data/format/default/funnyordie.json \
27 data/format/default/funnyhub.json \
28 data/format/default/academicearth.json \
29 data/format/default/theonion.json \
30 data/format/default/ted.json \
31 data/format/default/tagtele.json \
32 data/format/default/bikeradar.json \
33 data/format/default/break.json \
34 data/format/default/youtube.json \
35 data/format/default/golem.json \
36 data/format/default/google.json \
37 data/format/default/guardian.json \
38 data/format/default/guardian_audio.json \
39 data/format/default/soundcloud.json \
40 data/format/default/globo.json \
41 data/format/default/cbsnews.json \
42 data/format/default/sapo.json \
43 data/format/default/bloomberg.json \
44 data/format/default/buzzhumor.json \
45 data/format/default/vimeo.json \
46 data/format/default/blip.json \
47 data/format/other/cbsnews_mp4_240p.json \
48 data/format/other/ted_best.json \
49 data/format/other/spiegel_best.json \
50 data/format/other/spiegel_vp6_315p.json \
51 data/format/other/spiegel_vp6_544p.json \
52 data/format/other/cbsnews_mp4_480p.json \
53 data/format/other/youtube_flv_360p.json \
54 data/format/other/youtube_flv_480p.json \
55 data/format/other/youtube_mp4_360p.json \
56 data/format/other/youtube_mp4_720p.json \
57 data/format/other/youtube_mp4_3072p.json \
58 data/format/other/youtube_mp4_1080p.json \
59 data/format/other/youtube_best.json \
60 data/format/other/cbsnews_m4v_360p.json \
61 data/format/other/golem_ipod.json \
62 data/format/other/cbsnews_best.json \
63 data/format/other/cbsnews_mp4_180p.json \
64 data/format/other/cbsnews_m4v_480p.json \
65 data/format/other/vimeo_best.json \
66 data/format/other/golem_best.json \
67 data/format/other/blip_best.json \
68 data/format/other/blip_hd.json \
69 data/format/other/blip_sd.json
72 data/format/default/ignore/length_bytes/dailymotion.json \
73 data/format/other/ignore/length_bytes/dailymotion_hq.json \
74 data/format/other/ignore/length_bytes/dailymotion_hd.json \
75 data/format/other/ignore/length_bytes/dailymotion_best.json
78 data/format/default/todo/collegehumor.json \
79 data/format/default/todo/tvlux.json
82 data/format/default/nlfy/sevenload.json \
83 data/format/default/nlfy/clipfish.json
86 data/format/default/nsfw/xvideos.json \
87 data/format/default/nsfw/tube8.json \
88 data/format/default/nsfw/keezmovies.json \
89 data/format/default/nsfw/xhamster.json \
90 data/format/default/nsfw/youjizz.json \
91 data/format/default/nsfw/pornhub.json \
92 data/format/default/nsfw/spankwire.json
96 data/format/default/ignore/README \
97 data/format/default/todo/README \
98 data/format/default/non-http/README \
99 data/format/other/ignore/README
102 $(README) $(TESTS_LIB) \
103 $(TESTS_T) $(TESTS_NSFW_T) $(TESTS_D_T) $(TESTS_POD_T) \
104 $(JSON) $(JSON_IGNORE) $(JSON_TODO) $(JSON_NLFY) $(JSON_NSFW)
107 PROVE_OPTS_COMMON = --nocolor
109 if ENABLE_VERBOSE_TESTS
110 PROVE_OPTS_COMMON += -v
113 # Options for those tests that use Test::Quvi.
115 PROVE_OPTS = -I $(top_srcdir)/tests/lib/
116 PROVE_OPTS += $(PROVE_OPTS_COMMON)
119 -q $(top_builddir)/src/quvi \
120 -d $(top_srcdir)/tests \
121 -b $(top_srcdir)/share
124 TESTQUVI_OPTS += -v $(VALGRIND)
128 TESTQUVI_OPTS += --todo
132 TESTQUVI_OPTS += --nlfy
136 TESTQUVI_OPTS += --nsfw
139 # Options for those tests that *do not* use Test::Quvi.
141 # t/pod.t: GetOptions accepts a different (from those used in
142 # Test::Quvi) set of options.
143 PROVE_OPTS_POD = $(PROVE_OPTS_COMMON)
145 TESTQUVI_OPTS_POD = -p $(top_srcdir)/man1
148 @ ok=1; for t in $(TESTS_T); do \
149 ( $(PROVE) $(PROVE_OPTS) $(top_srcdir)/tests/$$t \
150 :: $(TESTQUVI_OPTS) ) || ok=; \
152 for t in $(TESTS_POD_T); do \
153 ( $(PROVE) $(PROVE_OPTS_POD) $(top_srcdir)/tests/$$t \
154 :: $(TESTQUVI_OPTS_POD) ) || ok=; \
156 if test -z "$$ok"; then exit 1; fi