~ubuntu-branches/ubuntu/saucy/libquvi/saucy-proposed

« back to all changes in this revision

Viewing changes to tests/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Alejandro Garrido Mota
  • Date: 2011-04-25 01:07:41 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110425010741-nalzd12y180qs082
Tags: 0.2.15-1
* New upstream release (Closes: #622253). 
* Update d/watch to sf.net
* Update homepage field to quvi.sourceforge.net (Closes: #615554) 
* d/rules: Add dh_auto_test before NO_INTERNET=1 in override_dh_auto_test 
* Update Standards-Version field to 3.9.2 
* Add symbol (d/libquvi0.symbols) file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
54
42
subdir = tests
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 \
63
50
        $(ACLOCAL_M4)
64
51
mkinstalldirs = $(install_sh) -d
65
52
CONFIG_HEADER = $(top_builddir)/config.h
66
 
CONFIG_CLEAN_FILES = quviTest.pm
 
53
CONFIG_CLEAN_FILES =
67
54
CONFIG_CLEAN_VPATH_FILES =
68
55
AM_V_GEN = $(am__v_GEN_$(V))
69
56
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
73
60
am__v_at_0 = @
74
61
SOURCES =
75
62
DIST_SOURCES =
76
 
am__tty_colors = \
77
 
red=; grn=; lgn=; blu=; std=
78
 
am__EXEEXT_1 =
79
 
@ENABLE_BROKEN_TRUE@@HAVE_PERL_TRUE@am__EXEEXT_2 = $(am__EXEEXT_1)
80
63
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
81
64
ACLOCAL = @ACLOCAL@
82
65
AMTAR = @AMTAR@
145
128
PACKAGE_URL = @PACKAGE_URL@
146
129
PACKAGE_VERSION = @PACKAGE_VERSION@
147
130
PATH_SEPARATOR = @PATH_SEPARATOR@
148
 
PERL = @PERL@
149
131
PKG_CONFIG = @PKG_CONFIG@
150
132
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
151
133
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
152
134
POD2HTML = @POD2HTML@
153
135
POD2MAN = @POD2MAN@
154
136
POW_LIB = @POW_LIB@
 
137
PROVE = @PROVE@
155
138
QUVI_AGE = @QUVI_AGE@
156
139
QUVI_CURRENT = @QUVI_CURRENT@
157
140
QUVI_REVISION = @QUVI_REVISION@
160
143
SET_MAKE = @SET_MAKE@
161
144
SHELL = @SHELL@
162
145
STRIP = @STRIP@
 
146
VALGRIND = @VALGRIND@
163
147
VERSION = @VERSION@
164
148
abs_builddir = @abs_builddir@
165
149
abs_srcdir = @abs_srcdir@
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
227
 
 
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
233
 
 
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
238
 
 
 
209
TESTS_T = \
 
210
t/format_default_nonhttp.t \
 
211
t/mem.t \
 
212
t/nosupport.t \
 
213
t/redirect.t \
 
214
t/format_default.t \
 
215
t/format_other.t \
 
216
t/shortened.t
 
217
 
 
218
TESTS_D_T = t/d/url.t
 
219
TESTS_POD_T = t/pod.t
 
220
TESTS_LIB = lib/Test/Quvi.pm
 
221
JSON = \
 
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
 
275
 
 
276
JSON_IGNORE = \
 
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
 
281
 
 
282
JSON_TODO = \
 
283
data/format/default/todo/collegehumor.json
 
284
 
 
285
JSON_NLFY = \
 
286
data/format/default/nlfy/sevenload.json \
 
287
data/format/default/nlfy/clipfish.json
 
288
 
 
289
JSON_NSFW = \
 
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
 
295
 
 
296
README = \
 
297
README \
 
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
 
302
 
 
303
EXTRA_DIST = \
 
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)
 
307
 
 
308
PROVE_OPTS_COMMON = --nocolor $(am__append_1)
 
309
 
 
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)
 
315
 
 
316
# Options for those tests that *do not* use Test::Quvi.
 
317
 
 
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
239
322
all: all-am
240
323
 
241
324
.SUFFIXES:
269
352
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
270
353
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
271
354
$(am__aclocal_m4_deps):
272
 
quviTest.pm: $(top_builddir)/config.status $(srcdir)/quviTest.pm.in
273
 
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
274
355
 
275
356
mostlyclean-libtool:
276
357
        -rm -f *.lo
284
365
CTAGS:
285
366
 
286
367
 
287
 
check-TESTS: $(TESTS)
288
 
        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
289
 
        srcdir=$(srcdir); export srcdir; \
290
 
        list=' $(TESTS) '; \
291
 
        $(am__tty_colors); \
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; \
304
 
              ;; \
305
 
              *) \
306
 
                col=$$grn; res=PASS; \
307
 
              ;; \
308
 
              esac; \
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; \
315
 
              ;; \
316
 
              *) \
317
 
                failed=`expr $$failed + 1`; \
318
 
                col=$$red; res=FAIL; \
319
 
              ;; \
320
 
              esac; \
321
 
            else \
322
 
              skip=`expr $$skip + 1`; \
323
 
              col=$$blu; res=SKIP; \
324
 
            fi; \
325
 
            echo "$${col}$$res$${std}: $$tst"; \
326
 
          done; \
327
 
          if test "$$all" -eq 1; then \
328
 
            tests="test"; \
329
 
            All=""; \
330
 
          else \
331
 
            tests="tests"; \
332
 
            All="All "; \
333
 
          fi; \
334
 
          if test "$$failed" -eq 0; then \
335
 
            if test "$$xfail" -eq 0; then \
336
 
              banner="$$All$$all $$tests passed"; \
337
 
            else \
338
 
              if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
339
 
              banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
340
 
            fi; \
341
 
          else \
342
 
            if test "$$xpass" -eq 0; then \
343
 
              banner="$$failed of $$all $$tests failed"; \
344
 
            else \
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)"; \
347
 
            fi; \
348
 
          fi; \
349
 
          dashes="$$banner"; \
350
 
          skipped=""; \
351
 
          if test "$$skip" -ne 0; then \
352
 
            if test "$$skip" -eq 1; then \
353
 
              skipped="($$skip test was not run)"; \
354
 
            else \
355
 
              skipped="($$skip tests were not run)"; \
356
 
            fi; \
357
 
            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
358
 
              dashes="$$skipped"; \
359
 
          fi; \
360
 
          report=""; \
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` || \
364
 
              dashes="$$report"; \
365
 
          fi; \
366
 
          dashes=`echo "$$dashes" | sed s/./=/g`; \
367
 
          if test "$$failed" -eq 0; then \
368
 
            echo "$$grn$$dashes"; \
369
 
          else \
370
 
            echo "$$red$$dashes"; \
371
 
          fi; \
372
 
          echo "$$banner"; \
373
 
          test -z "$$skipped" || echo "$$skipped"; \
374
 
          test -z "$$report" || echo "$$report"; \
375
 
          echo "$$dashes$$std"; \
376
 
          test "$$failed" -eq 0; \
377
 
        else :; fi
378
 
 
379
368
distdir: $(DISTFILES)
380
369
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
381
370
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
407
396
          fi; \
408
397
        done
409
398
check-am: all-am
410
 
        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
411
399
check: check-am
412
400
all-am: Makefile
413
401
installdirs:
502
490
 
503
491
uninstall-am:
504
492
 
505
 
.MAKE: check-am install-am install-strip
506
 
 
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
518
 
 
519
 
 
520
 
@HAVE_PERL_FALSE@       @echo SKIP: perl not found.
 
493
.MAKE: install-am install-strip
 
494
 
 
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
 
505
 
 
506
 
 
507
test: all
 
508
        @ ok=1; for t in $(TESTS_T); do \
 
509
                ( $(PROVE) $(PROVE_OPTS) $(top_srcdir)/tests/$$t \
 
510
                :: $(TESTQUVI_OPTS) ) || ok=; \
 
511
        done; \
 
512
        for t in $(TESTS_POD_T); do \
 
513
                ( $(PROVE) $(PROVE_OPTS_POD) $(top_srcdir)/tests/$$t \
 
514
                :: $(TESTQUVI_OPTS_POD) ) || ok=; \
 
515
        done; \
 
516
        if test -z "$$ok"; then exit 1; fi
521
517
 
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.