34
34
build_triplet = @build@
35
35
host_triplet = @host@
36
36
target_triplet = @target@
37
@HAVE_PERL_TRUE@TESTS = nosupport-eval.pl support-shortened.pl \
38
@HAVE_PERL_TRUE@ support-academicearth.pl support-bloomberg.pl \
39
@HAVE_PERL_TRUE@ support-break.pl support-cbsnews.pl \
40
@HAVE_PERL_TRUE@ support-charlierose.pl support-clipfish.pl \
41
@HAVE_PERL_TRUE@ support-collegehumor.pl support-dailymotion.pl \
42
@HAVE_PERL_TRUE@ support-gaskrank.pl support-funnyhub.pl \
43
@HAVE_PERL_TRUE@ support-funnyordie.pl support-globo.pl \
44
@HAVE_PERL_TRUE@ support-golem.pl support-google.pl \
45
@HAVE_PERL_TRUE@ support-buzzhumor.pl support-liveleak.pl \
46
@HAVE_PERL_TRUE@ support-sapo.pl support-sevenload.pl \
47
@HAVE_PERL_TRUE@ support-spiegel.pl support-theonion.pl \
48
@HAVE_PERL_TRUE@ support-youtube.pl support-vimeo.pl \
49
@HAVE_PERL_TRUE@ $(am__EXEEXT_2) $(am__append_2) \
50
@HAVE_PERL_TRUE@ $(am__append_3)
51
@ENABLE_BROKEN_TRUE@@HAVE_PERL_TRUE@am__append_1 = $(TESTS_BROKEN)
52
@HAVE_PERL_POD_CHECKER_TRUE@@HAVE_PERL_TRUE@am__append_2 = $(TESTS_POD)
53
@ENABLE_NSFW_TRUE@@HAVE_PERL_TRUE@am__append_3 = $(TESTS_NSFW)
37
@ENABLE_VERBOSE_TESTS_TRUE@am__append_1 = -v
38
@HAVE_VALGRIND_TRUE@am__append_2 = -v $(VALGRIND)
39
@ENABLE_TODO_TRUE@am__append_3 = --todo
40
@ENABLE_NLFY_TRUE@am__append_4 = --nlfy
41
@ENABLE_NSFW_TRUE@am__append_5 = --nsfw
55
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
56
$(srcdir)/quviTest.pm.in
43
DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
57
44
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
58
45
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
59
46
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
222
206
top_build_prefix = @top_build_prefix@
223
207
top_builddir = @top_builddir@
224
208
top_srcdir = @top_srcdir@
225
EXTRA_DIST = quviTest.pm.in $(TESTS) $(TESTS_POD) $(TESTS_NSFW)
226
@HAVE_PERL_TRUE@TESTS_ENVIRONMENT = $(PERL) -w -mstrict -mquviTest -I $(top_builddir)/tests
228
# NOTE: academicearth.pl has to come after youtube.
229
# The former uses youtube for hosting some of its videos.
230
@HAVE_PERL_TRUE@TESTS_BROKEN =
231
@HAVE_PERL_TRUE@TESTS_POD = \
232
@HAVE_PERL_TRUE@pod-check.pl
234
@HAVE_PERL_TRUE@TESTS_NSFW = \
235
@HAVE_PERL_TRUE@support-tube8.pl\
236
@HAVE_PERL_TRUE@support-xvideos.pl\
237
@HAVE_PERL_TRUE@support-youjizz.pl
210
t/format_default_nonhttp.t \
218
TESTS_D_T = t/d/url.t
219
TESTS_POD_T = t/pod.t
220
TESTS_LIB = lib/Test/Quvi.pm
222
data/resolve/inscript_redirect.json \
223
data/resolve/shortened.json \
224
data/format/default/megavideo.json \
225
data/format/default/charlierose.json \
226
data/format/default/liveleak.json \
227
data/format/default/publicsenat.json \
228
data/format/default/tmunderground.json \
229
data/format/default/gaskrank.json \
230
data/format/default/spiegel.json \
231
data/format/default/funnyordie.json \
232
data/format/default/funnyhub.json \
233
data/format/default/academicearth.json \
234
data/format/default/theonion.json \
235
data/format/default/ted.json \
236
data/format/default/tagtele.json \
237
data/format/default/break.json \
238
data/format/default/youtube.json \
239
data/format/default/golem.json \
240
data/format/default/google.json \
241
data/format/default/soundcloud.json \
242
data/format/default/globo.json \
243
data/format/default/cbsnews.json \
244
data/format/default/sapo.json \
245
data/format/default/tvlux.json \
246
data/format/default/bloomberg.json \
247
data/format/default/buzzhumor.json \
248
data/format/default/vimeo.json \
249
data/format/other/cbsnews_mp4_240p.json \
250
data/format/other/cbsnews_m4v_216p.json \
251
data/format/other/ted_best.json \
252
data/format/other/spiegel_1400k.json \
253
data/format/other/spiegel_best.json \
254
data/format/other/youtube_mp4_720p.json \
255
data/format/other/cbsnews_mp4_480p.json \
256
data/format/other/youtube_mp4_360p.json \
257
data/format/other/youtube_mp4_3072p.json \
258
data/format/other/youtube_mp4_1080p.json \
259
data/format/other/cbsnews_m4v_360p.json \
260
data/format/other/spiegel_576k.json \
261
data/format/other/golem_ipod.json \
262
data/format/other/ted_hd.json \
263
data/format/other/cbsnews_best.json \
264
data/format/other/cbsnews_mp4_180p.json \
265
data/format/other/cbsnews_m4v_480p.json \
266
data/format/other/golem_high.json \
267
data/format/other/youtube_best.json \
268
data/format/other/youtube_flv_480p.json \
269
data/format/other/vimeo_best.json \
270
data/format/other/spiegel_928k.json \
271
data/format/other/youtube_flv_240p.json \
272
data/format/other/golem_best.json \
273
data/format/other/youtube_flv_360p.json \
274
data/format/other/vimeo_hd.json
277
data/format/default/ignore/length_bytes/dailymotion.json \
278
data/format/other/ignore/length_bytes/dailymotion_hq.json \
279
data/format/other/ignore/length_bytes/dailymotion_hd.json \
280
data/format/other/ignore/length_bytes/dailymotion_best.json
283
data/format/default/todo/collegehumor.json
286
data/format/default/nlfy/sevenload.json \
287
data/format/default/nlfy/clipfish.json
290
data/format/default/nsfw/xvideos.json \
291
data/format/default/nsfw/tube8.json \
292
data/format/default/nsfw/keezmovies.json \
293
data/format/default/nsfw/xhamster.json \
294
data/format/default/nsfw/youjizz.json
298
data/format/default/ignore/README \
299
data/format/default/todo/README \
300
data/format/default/non-http/README \
301
data/format/other/ignore/README
304
$(README) $(TESTS_LIB) \
305
$(TESTS_T) $(TESTS_NSFW_T) $(TESTS_D_T) $(TESTS_POD_T) \
306
$(JSON) $(JSON_IGNORE) $(JSON_TODO) $(JSON_NLFY) $(JSON_NSFW)
308
PROVE_OPTS_COMMON = --nocolor $(am__append_1)
310
# Options for those tests that use Test::Quvi.
311
PROVE_OPTS = -I $(top_srcdir)/tests/lib/ $(PROVE_OPTS_COMMON)
312
TESTQUVI_OPTS = -q $(top_builddir)/src/quvi -d $(top_srcdir)/tests -b \
313
$(top_srcdir)/share $(am__append_2) $(am__append_3) \
314
$(am__append_4) $(am__append_5)
316
# Options for those tests that *do not* use Test::Quvi.
318
# t/pod.t: GetOptions accepts a different (from those used in
319
# Test::Quvi) set of options.
320
PROVE_OPTS_POD = $(PROVE_OPTS_COMMON)
321
TESTQUVI_OPTS_POD = -p $(top_srcdir)/man1
287
check-TESTS: $(TESTS)
288
@failed=0; all=0; xfail=0; xpass=0; skip=0; \
289
srcdir=$(srcdir); export srcdir; \
292
if test -n "$$list"; then \
293
for tst in $$list; do \
294
if test -f ./$$tst; then dir=./; \
295
elif test -f $$tst; then dir=; \
296
else dir="$(srcdir)/"; fi; \
297
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
298
all=`expr $$all + 1`; \
299
case " $(XFAIL_TESTS) " in \
300
*[\ \ ]$$tst[\ \ ]*) \
301
xpass=`expr $$xpass + 1`; \
302
failed=`expr $$failed + 1`; \
303
col=$$red; res=XPASS; \
306
col=$$grn; res=PASS; \
309
elif test $$? -ne 77; then \
310
all=`expr $$all + 1`; \
311
case " $(XFAIL_TESTS) " in \
312
*[\ \ ]$$tst[\ \ ]*) \
313
xfail=`expr $$xfail + 1`; \
314
col=$$lgn; res=XFAIL; \
317
failed=`expr $$failed + 1`; \
318
col=$$red; res=FAIL; \
322
skip=`expr $$skip + 1`; \
323
col=$$blu; res=SKIP; \
325
echo "$${col}$$res$${std}: $$tst"; \
327
if test "$$all" -eq 1; then \
334
if test "$$failed" -eq 0; then \
335
if test "$$xfail" -eq 0; then \
336
banner="$$All$$all $$tests passed"; \
338
if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
339
banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
342
if test "$$xpass" -eq 0; then \
343
banner="$$failed of $$all $$tests failed"; \
345
if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
346
banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
351
if test "$$skip" -ne 0; then \
352
if test "$$skip" -eq 1; then \
353
skipped="($$skip test was not run)"; \
355
skipped="($$skip tests were not run)"; \
357
test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
358
dashes="$$skipped"; \
361
if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
362
report="Please report to $(PACKAGE_BUGREPORT)"; \
363
test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
366
dashes=`echo "$$dashes" | sed s/./=/g`; \
367
if test "$$failed" -eq 0; then \
368
echo "$$grn$$dashes"; \
370
echo "$$red$$dashes"; \
373
test -z "$$skipped" || echo "$$skipped"; \
374
test -z "$$report" || echo "$$report"; \
375
echo "$$dashes$$std"; \
376
test "$$failed" -eq 0; \
379
368
distdir: $(DISTFILES)
380
369
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
381
370
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
505
.MAKE: check-am install-am install-strip
507
.PHONY: all all-am check check-TESTS check-am clean clean-generic \
508
clean-libtool distclean distclean-generic distclean-libtool \
509
distdir dvi dvi-am html html-am info info-am install \
510
install-am install-data install-data-am install-dvi \
511
install-dvi-am install-exec install-exec-am install-html \
512
install-html-am install-info install-info-am install-man \
513
install-pdf install-pdf-am install-ps install-ps-am \
514
install-strip installcheck installcheck-am installdirs \
515
maintainer-clean maintainer-clean-generic mostlyclean \
516
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
517
uninstall uninstall-am
520
@HAVE_PERL_FALSE@ @echo SKIP: perl not found.
493
.MAKE: install-am install-strip
495
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
496
distclean distclean-generic distclean-libtool distdir dvi \
497
dvi-am html html-am info info-am install install-am \
498
install-data install-data-am install-dvi install-dvi-am \
499
install-exec install-exec-am install-html install-html-am \
500
install-info install-info-am install-man install-pdf \
501
install-pdf-am install-ps install-ps-am install-strip \
502
installcheck installcheck-am installdirs maintainer-clean \
503
maintainer-clean-generic mostlyclean mostlyclean-generic \
504
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
508
@ ok=1; for t in $(TESTS_T); do \
509
( $(PROVE) $(PROVE_OPTS) $(top_srcdir)/tests/$$t \
510
:: $(TESTQUVI_OPTS) ) || ok=; \
512
for t in $(TESTS_POD_T); do \
513
( $(PROVE) $(PROVE_OPTS_POD) $(top_srcdir)/tests/$$t \
514
:: $(TESTQUVI_OPTS_POD) ) || ok=; \
516
if test -z "$$ok"; then exit 1; fi
522
518
# Tell versions [3.59,3.63) of GNU make to not export all variables.
523
519
# Otherwise a system limit (for SysV at least) may be exceeded.