~ubuntu-branches/ubuntu/saucy/libyaml/saucy-updates

« back to all changes in this revision

Viewing changes to tests/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Anders Kaseorg
  • Date: 2009-10-04 14:07:18 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20091004140718-xbxdh75o5isjgq51
Tags: 0.1.3-1
* New upstream version 0.1.3.
  + This release fixes non-standard structure initialization and a
    streaming-related issue.
* Bump priority from extra to optional.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.10.1 from Makefile.am.
 
1
# Makefile.in generated by automake 1.10.2 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
160
160
MKDIR_P = @MKDIR_P@
161
161
NM = @NM@
162
162
NMEDIT = @NMEDIT@
 
163
OBJDUMP = @OBJDUMP@
163
164
OBJEXT = @OBJEXT@
164
165
OTOOL = @OTOOL@
165
166
OTOOL64 = @OTOOL64@
229
230
srcdir = @srcdir@
230
231
sysconfdir = @sysconfdir@
231
232
target_alias = @target_alias@
 
233
top_build_prefix = @top_build_prefix@
232
234
top_builddir = @top_builddir@
233
235
top_srcdir = @top_srcdir@
234
236
AM_CPPFLAGS = -I$(top_srcdir)/include
242
244
        @for dep in $?; do \
243
245
          case '$(am__configure_deps)' in \
244
246
            *$$dep*) \
245
 
              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
246
 
                && exit 0; \
 
247
              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
 
248
                && { if test -f $@; then exit 0; else break; fi; }; \
247
249
              exit 1;; \
248
250
          esac; \
249
251
        done; \
365
367
        unique=`for i in $$list; do \
366
368
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
367
369
          done | \
368
 
          $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
 
370
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
369
371
              END { if (nonempty) { for (i in files) print i; }; }'`; \
370
372
        mkid -fID $$unique
371
373
tags: TAGS
408
410
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
409
411
 
410
412
check-TESTS: $(TESTS)
411
 
        @failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[        ]'; \
 
413
        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
412
414
        srcdir=$(srcdir); export srcdir; \
413
415
        list=' $(TESTS) '; \
414
416
        if test -n "$$list"; then \
419
421
            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
420
422
              all=`expr $$all + 1`; \
421
423
              case " $(XFAIL_TESTS) " in \
422
 
              *$$ws$$tst$$ws*) \
 
424
              *[\ \     ]$$tst[\ \      ]*) \
423
425
                xpass=`expr $$xpass + 1`; \
424
426
                failed=`expr $$failed + 1`; \
425
427
                echo "XPASS: $$tst"; \
431
433
            elif test $$? -ne 77; then \
432
434
              all=`expr $$all + 1`; \
433
435
              case " $(XFAIL_TESTS) " in \
434
 
              *$$ws$$tst$$ws*) \
 
436
              *[\ \     ]$$tst[\ \      ]*) \
435
437
                xfail=`expr $$xfail + 1`; \
436
438
                echo "XFAIL: $$tst"; \
437
439
              ;; \
445
447
              echo "SKIP: $$tst"; \
446
448
            fi; \
447
449
          done; \
 
450
          if test "$$all" -eq 1; then \
 
451
            tests="test"; \
 
452
            All=""; \
 
453
          else \
 
454
            tests="tests"; \
 
455
            All="All "; \
 
456
          fi; \
448
457
          if test "$$failed" -eq 0; then \
449
458
            if test "$$xfail" -eq 0; then \
450
 
              banner="All $$all tests passed"; \
 
459
              banner="$$All$$all $$tests passed"; \
451
460
            else \
452
 
              banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
 
461
              if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
 
462
              banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
453
463
            fi; \
454
464
          else \
455
465
            if test "$$xpass" -eq 0; then \
456
 
              banner="$$failed of $$all tests failed"; \
 
466
              banner="$$failed of $$all $$tests failed"; \
457
467
            else \
458
 
              banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
 
468
              if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
 
469
              banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
459
470
            fi; \
460
471
          fi; \
461
472
          dashes="$$banner"; \
462
473
          skipped=""; \
463
474
          if test "$$skip" -ne 0; then \
464
 
            skipped="($$skip tests were not run)"; \
 
475
            if test "$$skip" -eq 1; then \
 
476
              skipped="($$skip test was not run)"; \
 
477
            else \
 
478
              skipped="($$skip tests were not run)"; \
 
479
            fi; \
465
480
            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
466
481
              dashes="$$skipped"; \
467
482
          fi; \