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/break.json \
33 data/format/default/youtube.json \
34 data/format/default/golem.json \
35 data/format/default/google.json \
36 data/format/default/soundcloud.json \
37 data/format/default/globo.json \
38 data/format/default/cbsnews.json \
39 data/format/default/sapo.json \
40 data/format/default/bloomberg.json \
41 data/format/default/buzzhumor.json \
42 data/format/default/vimeo.json \
43 data/format/default/blip.json \
44 data/format/other/cbsnews_mp4_240p.json \
45 data/format/other/cbsnews_m4v_216p.json \
46 data/format/other/ted_best.json \
47 data/format/other/spiegel_1400k.json \
48 data/format/other/spiegel_best.json \
49 data/format/other/youtube_mp4_720p.json \
50 data/format/other/cbsnews_mp4_480p.json \
51 data/format/other/youtube_mp4_360p.json \
52 data/format/other/youtube_mp4_3072p.json \
53 data/format/other/youtube_mp4_1080p.json \
54 data/format/other/cbsnews_m4v_360p.json \
55 data/format/other/spiegel_576k.json \
56 data/format/other/golem_ipod.json \
57 data/format/other/ted_hd.json \
58 data/format/other/cbsnews_best.json \
59 data/format/other/cbsnews_mp4_180p.json \
60 data/format/other/cbsnews_m4v_480p.json \
61 data/format/other/golem_high.json \
62 data/format/other/youtube_best.json \
63 data/format/other/youtube_flv_480p.json \
64 data/format/other/vimeo_best.json \
65 data/format/other/spiegel_928k.json \
66 data/format/other/youtube_flv_240p.json \
67 data/format/other/golem_best.json \
68 data/format/other/youtube_flv_360p.json \
69 data/format/other/vimeo_hd.json \
70 data/format/other/blip_best.json \
71 data/format/other/blip_hd.json \
72 data/format/other/blip_sd.json
75 data/format/default/ignore/length_bytes/dailymotion.json \
76 data/format/other/ignore/length_bytes/dailymotion_hq.json \
77 data/format/other/ignore/length_bytes/dailymotion_hd.json \
78 data/format/other/ignore/length_bytes/dailymotion_best.json
81 data/format/default/todo/collegehumor.json \
82 data/format/default/todo/tvlux.json
85 data/format/default/nlfy/sevenload.json \
86 data/format/default/nlfy/clipfish.json
89 data/format/default/nsfw/xvideos.json \
90 data/format/default/nsfw/tube8.json \
91 data/format/default/nsfw/keezmovies.json \
92 data/format/default/nsfw/xhamster.json \
93 data/format/default/nsfw/youjizz.json \
94 data/format/default/nsfw/pornhub.json \
95 data/format/default/nsfw/spankwire.json
99 data/format/default/ignore/README \
100 data/format/default/todo/README \
101 data/format/default/non-http/README \
102 data/format/other/ignore/README
105 $(README) $(TESTS_LIB) \
106 $(TESTS_T) $(TESTS_NSFW_T) $(TESTS_D_T) $(TESTS_POD_T) \
107 $(JSON) $(JSON_IGNORE) $(JSON_TODO) $(JSON_NLFY) $(JSON_NSFW)
110 PROVE_OPTS_COMMON = --nocolor
112 if ENABLE_VERBOSE_TESTS
113 PROVE_OPTS_COMMON += -v
116 # Options for those tests that use Test::Quvi.
118 PROVE_OPTS = -I $(top_srcdir)/tests/lib/
119 PROVE_OPTS += $(PROVE_OPTS_COMMON)
122 -q $(top_builddir)/src/quvi \
123 -d $(top_srcdir)/tests \
124 -b $(top_srcdir)/share
127 TESTQUVI_OPTS += -v $(VALGRIND)
131 TESTQUVI_OPTS += --todo
135 TESTQUVI_OPTS += --nlfy
139 TESTQUVI_OPTS += --nsfw
142 # Options for those tests that *do not* use Test::Quvi.
144 # t/pod.t: GetOptions accepts a different (from those used in
145 # Test::Quvi) set of options.
146 PROVE_OPTS_POD = $(PROVE_OPTS_COMMON)
148 TESTQUVI_OPTS_POD = -p $(top_srcdir)/man1
151 @ ok=1; for t in $(TESTS_T); do \
152 ( $(PROVE) $(PROVE_OPTS) $(top_srcdir)/tests/$$t \
153 :: $(TESTQUVI_OPTS) ) || ok=; \
155 for t in $(TESTS_POD_T); do \
156 ( $(PROVE) $(PROVE_OPTS_POD) $(top_srcdir)/tests/$$t \
157 :: $(TESTQUVI_OPTS_POD) ) || ok=; \
159 if test -z "$$ok"; then exit 1; fi