~ubuntu-branches/ubuntu/vivid/fribidi/vivid-proposed

« back to all changes in this revision

Viewing changes to test/Makefile.in

  • Committer: Package Import Robot
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2013-12-09 09:32:00 UTC
  • mfrom: (9.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20131209093200-59udtoatl3svcqb5
Tags: 0.19.6-1
* New upstream release.
* Removed autotools-dev since upstream updated libtools autohelper files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.11.3 from Makefile.am.
 
1
# Makefile.in generated by automake 1.14 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
 
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
 
# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6
 
# Foundation, Inc.
 
4
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
 
5
 
7
6
# This Makefile.in is free software; the Free Software Foundation
8
7
# gives unlimited permission to copy and/or distribute it,
9
8
# with or without modifications, as long as this notice is preserved.
15
14
 
16
15
@SET_MAKE@
17
16
VPATH = @srcdir@
 
17
am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
 
18
am__make_running_with_option = \
 
19
  case $${target_option-} in \
 
20
      ?) ;; \
 
21
      *) echo "am__make_running_with_option: internal error: invalid" \
 
22
              "target option '$${target_option-}' specified" >&2; \
 
23
         exit 1;; \
 
24
  esac; \
 
25
  has_opt=no; \
 
26
  sane_makeflags=$$MAKEFLAGS; \
 
27
  if $(am__is_gnu_make); then \
 
28
    sane_makeflags=$$MFLAGS; \
 
29
  else \
 
30
    case $$MAKEFLAGS in \
 
31
      *\\[\ \   ]*) \
 
32
        bs=\\; \
 
33
        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
 
34
          | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
 
35
    esac; \
 
36
  fi; \
 
37
  skip_next=no; \
 
38
  strip_trailopt () \
 
39
  { \
 
40
    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
 
41
  }; \
 
42
  for flg in $$sane_makeflags; do \
 
43
    test $$skip_next = yes && { skip_next=no; continue; }; \
 
44
    case $$flg in \
 
45
      *=*|--*) continue;; \
 
46
        -*I) strip_trailopt 'I'; skip_next=yes;; \
 
47
      -*I?*) strip_trailopt 'I';; \
 
48
        -*O) strip_trailopt 'O'; skip_next=yes;; \
 
49
      -*O?*) strip_trailopt 'O';; \
 
50
        -*l) strip_trailopt 'l'; skip_next=yes;; \
 
51
      -*l?*) strip_trailopt 'l';; \
 
52
      -[dEDm]) skip_next=yes;; \
 
53
      -[JT]) skip_next=yes;; \
 
54
    esac; \
 
55
    case $$flg in \
 
56
      *$$target_option*) has_opt=yes; break;; \
 
57
    esac; \
 
58
  done; \
 
59
  test $$has_opt = yes
 
60
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
 
61
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
18
62
pkgdatadir = $(datadir)/@PACKAGE@
19
63
pkgincludedir = $(includedir)/@PACKAGE@
20
64
pkglibdir = $(libdir)/@PACKAGE@
34
78
build_triplet = @build@
35
79
host_triplet = @host@
36
80
subdir = test
37
 
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
 
81
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
 
82
        $(top_srcdir)/test-driver
38
83
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39
84
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
40
85
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43
88
CONFIG_HEADER = $(top_builddir)/config.h
44
89
CONFIG_CLEAN_FILES =
45
90
CONFIG_CLEAN_VPATH_FILES =
 
91
AM_V_P = $(am__v_P_@AM_V@)
 
92
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
 
93
am__v_P_0 = false
 
94
am__v_P_1 = :
46
95
AM_V_GEN = $(am__v_GEN_@AM_V@)
47
96
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
48
 
am__v_GEN_0 = @echo "  GEN   " $@;
 
97
am__v_GEN_0 = @echo "  GEN     " $@;
 
98
am__v_GEN_1 = 
49
99
AM_V_at = $(am__v_at_@AM_V@)
50
100
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
51
101
am__v_at_0 = @
 
102
am__v_at_1 = 
52
103
SOURCES =
53
104
DIST_SOURCES =
54
 
am__tty_colors = \
55
 
red=; grn=; lgn=; blu=; std=
 
105
am__can_run_installinfo = \
 
106
  case $$AM_UPDATE_INFO_DIR in \
 
107
    n|no|NO) false;; \
 
108
    *) (install-info --version) >/dev/null 2>&1;; \
 
109
  esac
 
110
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 
111
am__tty_colors_dummy = \
 
112
  mgn= red= grn= lgn= blu= brg= std=; \
 
113
  am__color_tests=no
 
114
am__tty_colors = { \
 
115
  $(am__tty_colors_dummy); \
 
116
  if test "X$(AM_COLOR_TESTS)" = Xno; then \
 
117
    am__color_tests=no; \
 
118
  elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
 
119
    am__color_tests=yes; \
 
120
  elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
 
121
    am__color_tests=yes; \
 
122
  fi; \
 
123
  if test $$am__color_tests = yes; then \
 
124
    red=''; \
 
125
    grn=''; \
 
126
    lgn=''; \
 
127
    blu=''; \
 
128
    mgn=''; \
 
129
    brg=''; \
 
130
    std=''; \
 
131
  fi; \
 
132
}
 
133
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 
134
am__vpath_adj = case $$p in \
 
135
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
 
136
    *) f=$$p;; \
 
137
  esac;
 
138
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
 
139
am__install_max = 40
 
140
am__nobase_strip_setup = \
 
141
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
 
142
am__nobase_strip = \
 
143
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
 
144
am__nobase_list = $(am__nobase_strip_setup); \
 
145
  for p in $$list; do echo "$$p $$p"; done | \
 
146
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
 
147
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
 
148
    if (++n[$$2] == $(am__install_max)) \
 
149
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
 
150
    END { for (dir in files) print dir, files[dir] }'
 
151
am__base_list = \
 
152
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
 
153
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
 
154
am__uninstall_files_from_dir = { \
 
155
  test -z "$$files" \
 
156
    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
 
157
    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
 
158
         $(am__cd) "$$dir" && rm -f $$files; }; \
 
159
  }
 
160
am__recheck_rx = ^[     ]*:recheck:[    ]*
 
161
am__global_test_result_rx = ^[  ]*:global-test-result:[         ]*
 
162
am__copy_in_global_log_rx = ^[  ]*:copy-in-global-log:[         ]*
 
163
# A command that, given a newline-separated list of test names on the
 
164
# standard input, print the name of the tests that are to be re-run
 
165
# upon "make recheck".
 
166
am__list_recheck_tests = $(AWK) '{ \
 
167
  recheck = 1; \
 
168
  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
 
169
    { \
 
170
      if (rc < 0) \
 
171
        { \
 
172
          if ((getline line2 < ($$0 ".log")) < 0) \
 
173
            recheck = 0; \
 
174
          break; \
 
175
        } \
 
176
      else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
 
177
        { \
 
178
          recheck = 0; \
 
179
          break; \
 
180
        } \
 
181
      else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
 
182
        { \
 
183
          break; \
 
184
        } \
 
185
    }; \
 
186
  if (recheck) \
 
187
    print $$0; \
 
188
  close ($$0 ".trs"); \
 
189
  close ($$0 ".log"); \
 
190
}'
 
191
# A command that, given a newline-separated list of test names on the
 
192
# standard input, create the global log from their .trs and .log files.
 
193
am__create_global_log = $(AWK) ' \
 
194
function fatal(msg) \
 
195
{ \
 
196
  print "fatal: making $@: " msg | "cat >&2"; \
 
197
  exit 1; \
 
198
} \
 
199
function rst_section(header) \
 
200
{ \
 
201
  print header; \
 
202
  len = length(header); \
 
203
  for (i = 1; i <= len; i = i + 1) \
 
204
    printf "="; \
 
205
  printf "\n\n"; \
 
206
} \
 
207
{ \
 
208
  copy_in_global_log = 1; \
 
209
  global_test_result = "RUN"; \
 
210
  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
 
211
    { \
 
212
      if (rc < 0) \
 
213
         fatal("failed to read from " $$0 ".trs"); \
 
214
      if (line ~ /$(am__global_test_result_rx)/) \
 
215
        { \
 
216
          sub("$(am__global_test_result_rx)", "", line); \
 
217
          sub("[        ]*$$", "", line); \
 
218
          global_test_result = line; \
 
219
        } \
 
220
      else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
 
221
        copy_in_global_log = 0; \
 
222
    }; \
 
223
  if (copy_in_global_log) \
 
224
    { \
 
225
      rst_section(global_test_result ": " $$0); \
 
226
      while ((rc = (getline line < ($$0 ".log"))) != 0) \
 
227
      { \
 
228
        if (rc < 0) \
 
229
          fatal("failed to read from " $$0 ".log"); \
 
230
        print line; \
 
231
      }; \
 
232
      printf "\n"; \
 
233
    }; \
 
234
  close ($$0 ".trs"); \
 
235
  close ($$0 ".log"); \
 
236
}'
 
237
# Restructured Text title.
 
238
am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
 
239
# Solaris 10 'make', and several other traditional 'make' implementations,
 
240
# pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
 
241
# by disabling -e (using the XSI extension "set +e") if it's set.
 
242
am__sh_e_setup = case $$- in *e*) set +e;; esac
 
243
# Default flags passed to test drivers.
 
244
am__common_driver_flags = \
 
245
  --color-tests "$$am__color_tests" \
 
246
  --enable-hard-errors "$$am__enable_hard_errors" \
 
247
  --expect-failure "$$am__expect_failure"
 
248
# To be inserted before the command running the test.  Creates the
 
249
# directory for the log if needed.  Stores in $dir the directory
 
250
# containing $f, in $tst the test, in $log the log.  Executes the
 
251
# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
 
252
# passes TESTS_ENVIRONMENT.  Set up options for the wrapper that
 
253
# will run the test scripts (or their associated LOG_COMPILER, if
 
254
# thy have one).
 
255
am__check_pre = \
 
256
$(am__sh_e_setup);                                      \
 
257
$(am__vpath_adj_setup) $(am__vpath_adj)                 \
 
258
$(am__tty_colors);                                      \
 
259
srcdir=$(srcdir); export srcdir;                        \
 
260
case "$@" in                                            \
 
261
  */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;    \
 
262
    *) am__odir=.;;                                     \
 
263
esac;                                                   \
 
264
test "x$$am__odir" = x"." || test -d "$$am__odir"       \
 
265
  || $(MKDIR_P) "$$am__odir" || exit $$?;               \
 
266
if test -f "./$$f"; then dir=./;                        \
 
267
elif test -f "$$f"; then dir=;                          \
 
268
else dir="$(srcdir)/"; fi;                              \
 
269
tst=$$dir$$f; log='$@';                                 \
 
270
if test -n '$(DISABLE_HARD_ERRORS)'; then               \
 
271
  am__enable_hard_errors=no;                            \
 
272
else                                                    \
 
273
  am__enable_hard_errors=yes;                           \
 
274
fi;                                                     \
 
275
case " $(XFAIL_TESTS) " in                              \
 
276
  *[\ \ ]$$f[\ \        ]* | *[\ \      ]$$dir$$f[\ \   ]*) \
 
277
    am__expect_failure=yes;;                            \
 
278
  *)                                                    \
 
279
    am__expect_failure=no;;                             \
 
280
esac;                                                   \
 
281
$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
 
282
# A shell command to get the names of the tests scripts with any registered
 
283
# extension removed (i.e., equivalently, the names of the test logs, with
 
284
# the '.log' extension removed).  The result is saved in the shell variable
 
285
# '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
 
286
# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
 
287
# since that might cause problem with VPATH rewrites for suffix-less tests.
 
288
# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
 
289
am__set_TESTS_bases = \
 
290
  bases='$(TEST_LOGS)'; \
 
291
  bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
 
292
  bases=`echo $$bases`
 
293
RECHECK_LOGS = $(TEST_LOGS)
 
294
AM_RECURSIVE_TARGETS = check recheck
 
295
TEST_SUITE_LOG = test-suite.log
 
296
TEST_EXTENSIONS = @EXEEXT@ .test
 
297
LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
 
298
LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
 
299
am__set_b = \
 
300
  case '$@' in \
 
301
    */*) \
 
302
      case '$*' in \
 
303
        */*) b='$*';; \
 
304
          *) b=`echo '$@' | sed 's/\.log$$//'`; \
 
305
       esac;; \
 
306
    *) \
 
307
      b='$*';; \
 
308
  esac
 
309
am__test_logs1 = $(TESTS:=.log)
 
310
am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
 
311
TEST_LOGS = $(am__test_logs2:.test.log=.log)
 
312
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
 
313
TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
 
314
        $(TEST_LOG_FLAGS)
56
315
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
57
316
ACLOCAL = @ACLOCAL@
58
317
AMTAR = @AMTAR@
189
448
top_build_prefix = @top_build_prefix@
190
449
top_builddir = @top_builddir@
191
450
top_srcdir = @top_srcdir@
192
 
TESTS_ENVIRONMENT = /bin/sh
 
451
TESTS_ENVIRONMENT = \
 
452
        srcdir=${srcdir}; export srcdir; \
 
453
        top_builddir=${top_builddir}; export top_builddir; \
 
454
        EXEEXT=${EXEEXT}; export EXEEXT;
 
455
 
 
456
AM_TESTS_ENVIRONMENT = $(TESTS_ENVIRONMENT)
193
457
TESTS = run.tests
194
458
check_SCRIPTS = run.tests
195
459
TEST_DATAS = \
211
475
all: all-am
212
476
 
213
477
.SUFFIXES:
 
478
.SUFFIXES: .log .test .test$(EXEEXT) .trs
214
479
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
215
480
        @for dep in $?; do \
216
481
          case '$(am__configure_deps)' in \
247
512
 
248
513
clean-libtool:
249
514
        -rm -rf .libs _libs
250
 
tags: TAGS
251
 
TAGS:
252
 
 
253
 
ctags: CTAGS
254
 
CTAGS:
255
 
 
256
 
 
257
 
check-TESTS: $(TESTS)
258
 
        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
259
 
        srcdir=$(srcdir); export srcdir; \
260
 
        list=' $(TESTS) '; \
261
 
        $(am__tty_colors); \
262
 
        if test -n "$$list"; then \
263
 
          for tst in $$list; do \
264
 
            if test -f ./$$tst; then dir=./; \
265
 
            elif test -f $$tst; then dir=; \
266
 
            else dir="$(srcdir)/"; fi; \
267
 
            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
268
 
              all=`expr $$all + 1`; \
269
 
              case " $(XFAIL_TESTS) " in \
270
 
              *[\ \     ]$$tst[\ \      ]*) \
271
 
                xpass=`expr $$xpass + 1`; \
272
 
                failed=`expr $$failed + 1`; \
273
 
                col=$$red; res=XPASS; \
274
 
              ;; \
275
 
              *) \
276
 
                col=$$grn; res=PASS; \
277
 
              ;; \
278
 
              esac; \
279
 
            elif test $$? -ne 77; then \
280
 
              all=`expr $$all + 1`; \
281
 
              case " $(XFAIL_TESTS) " in \
282
 
              *[\ \     ]$$tst[\ \      ]*) \
283
 
                xfail=`expr $$xfail + 1`; \
284
 
                col=$$lgn; res=XFAIL; \
285
 
              ;; \
286
 
              *) \
287
 
                failed=`expr $$failed + 1`; \
288
 
                col=$$red; res=FAIL; \
289
 
              ;; \
290
 
              esac; \
291
 
            else \
292
 
              skip=`expr $$skip + 1`; \
293
 
              col=$$blu; res=SKIP; \
294
 
            fi; \
295
 
            echo "$${col}$$res$${std}: $$tst"; \
 
515
tags TAGS:
 
516
 
 
517
ctags CTAGS:
 
518
 
 
519
cscope cscopelist:
 
520
 
 
521
 
 
522
# Recover from deleted '.trs' file; this should ensure that
 
523
# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
 
524
# both 'foo.log' and 'foo.trs'.  Break the recipe in two subshells
 
525
# to avoid problems with "make -n".
 
526
.log.trs:
 
527
        rm -f $< $@
 
528
        $(MAKE) $(AM_MAKEFLAGS) $<
 
529
 
 
530
# Leading 'am--fnord' is there to ensure the list of targets does not
 
531
# expand to empty, as could happen e.g. with make check TESTS=''.
 
532
am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
 
533
am--force-recheck:
 
534
        @:
 
535
 
 
536
$(TEST_SUITE_LOG): $(TEST_LOGS)
 
537
        @$(am__set_TESTS_bases); \
 
538
        am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
 
539
        redo_bases=`for i in $$bases; do \
 
540
                      am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
 
541
                    done`; \
 
542
        if test -n "$$redo_bases"; then \
 
543
          redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
 
544
          redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
 
545
          if $(am__make_dryrun); then :; else \
 
546
            rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
 
547
          fi; \
 
548
        fi; \
 
549
        if test -n "$$am__remaking_logs"; then \
 
550
          echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
 
551
               "recursion detected" >&2; \
 
552
        else \
 
553
          am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
 
554
        fi; \
 
555
        if $(am__make_dryrun); then :; else \
 
556
          st=0;  \
 
557
          errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
 
558
          for i in $$redo_bases; do \
 
559
            test -f $$i.trs && test -r $$i.trs \
 
560
              || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
 
561
            test -f $$i.log && test -r $$i.log \
 
562
              || { echo "$$errmsg $$i.log" >&2; st=1; }; \
296
563
          done; \
297
 
          if test "$$all" -eq 1; then \
298
 
            tests="test"; \
299
 
            All=""; \
300
 
          else \
301
 
            tests="tests"; \
302
 
            All="All "; \
303
 
          fi; \
304
 
          if test "$$failed" -eq 0; then \
305
 
            if test "$$xfail" -eq 0; then \
306
 
              banner="$$All$$all $$tests passed"; \
307
 
            else \
308
 
              if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
309
 
              banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
310
 
            fi; \
311
 
          else \
312
 
            if test "$$xpass" -eq 0; then \
313
 
              banner="$$failed of $$all $$tests failed"; \
314
 
            else \
315
 
              if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
316
 
              banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
317
 
            fi; \
318
 
          fi; \
319
 
          dashes="$$banner"; \
320
 
          skipped=""; \
321
 
          if test "$$skip" -ne 0; then \
322
 
            if test "$$skip" -eq 1; then \
323
 
              skipped="($$skip test was not run)"; \
324
 
            else \
325
 
              skipped="($$skip tests were not run)"; \
326
 
            fi; \
327
 
            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
328
 
              dashes="$$skipped"; \
329
 
          fi; \
330
 
          report=""; \
331
 
          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
332
 
            report="Please report to $(PACKAGE_BUGREPORT)"; \
333
 
            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
334
 
              dashes="$$report"; \
335
 
          fi; \
336
 
          dashes=`echo "$$dashes" | sed s/./=/g`; \
337
 
          if test "$$failed" -eq 0; then \
338
 
            col="$$grn"; \
339
 
          else \
340
 
            col="$$red"; \
341
 
          fi; \
342
 
          echo "$${col}$$dashes$${std}"; \
343
 
          echo "$${col}$$banner$${std}"; \
344
 
          test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
345
 
          test -z "$$report" || echo "$${col}$$report$${std}"; \
346
 
          echo "$${col}$$dashes$${std}"; \
347
 
          test "$$failed" -eq 0; \
348
 
        else :; fi
 
564
          test $$st -eq 0 || exit 1; \
 
565
        fi
 
566
        @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
 
567
        ws='[   ]'; \
 
568
        results=`for b in $$bases; do echo $$b.trs; done`; \
 
569
        test -n "$$results" || results=/dev/null; \
 
570
        all=`  grep "^$$ws*:test-result:"           $$results | wc -l`; \
 
571
        pass=` grep "^$$ws*:test-result:$$ws*PASS"  $$results | wc -l`; \
 
572
        fail=` grep "^$$ws*:test-result:$$ws*FAIL"  $$results | wc -l`; \
 
573
        skip=` grep "^$$ws*:test-result:$$ws*SKIP"  $$results | wc -l`; \
 
574
        xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
 
575
        xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
 
576
        error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
 
577
        if test `expr $$fail + $$xpass + $$error` -eq 0; then \
 
578
          success=true; \
 
579
        else \
 
580
          success=false; \
 
581
        fi; \
 
582
        br='==================='; br=$$br$$br$$br$$br; \
 
583
        result_count () \
 
584
        { \
 
585
            if test x"$$1" = x"--maybe-color"; then \
 
586
              maybe_colorize=yes; \
 
587
            elif test x"$$1" = x"--no-color"; then \
 
588
              maybe_colorize=no; \
 
589
            else \
 
590
              echo "$@: invalid 'result_count' usage" >&2; exit 4; \
 
591
            fi; \
 
592
            shift; \
 
593
            desc=$$1 count=$$2; \
 
594
            if test $$maybe_colorize = yes && test $$count -gt 0; then \
 
595
              color_start=$$3 color_end=$$std; \
 
596
            else \
 
597
              color_start= color_end=; \
 
598
            fi; \
 
599
            echo "$${color_start}# $$desc $$count$${color_end}"; \
 
600
        }; \
 
601
        create_testsuite_report () \
 
602
        { \
 
603
          result_count $$1 "TOTAL:" $$all   "$$brg"; \
 
604
          result_count $$1 "PASS: " $$pass  "$$grn"; \
 
605
          result_count $$1 "SKIP: " $$skip  "$$blu"; \
 
606
          result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
 
607
          result_count $$1 "FAIL: " $$fail  "$$red"; \
 
608
          result_count $$1 "XPASS:" $$xpass "$$red"; \
 
609
          result_count $$1 "ERROR:" $$error "$$mgn"; \
 
610
        }; \
 
611
        {                                                               \
 
612
          echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |       \
 
613
            $(am__rst_title);                                           \
 
614
          create_testsuite_report --no-color;                           \
 
615
          echo;                                                         \
 
616
          echo ".. contents:: :depth: 2";                               \
 
617
          echo;                                                         \
 
618
          for b in $$bases; do echo $$b; done                           \
 
619
            | $(am__create_global_log);                                 \
 
620
        } >$(TEST_SUITE_LOG).tmp || exit 1;                             \
 
621
        mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);                     \
 
622
        if $$success; then                                              \
 
623
          col="$$grn";                                                  \
 
624
         else                                                           \
 
625
          col="$$red";                                                  \
 
626
          test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);               \
 
627
        fi;                                                             \
 
628
        echo "$${col}$$br$${std}";                                      \
 
629
        echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}";   \
 
630
        echo "$${col}$$br$${std}";                                      \
 
631
        create_testsuite_report --maybe-color;                          \
 
632
        echo "$$col$$br$$std";                                          \
 
633
        if $$success; then :; else                                      \
 
634
          echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}";         \
 
635
          if test -n "$(PACKAGE_BUGREPORT)"; then                       \
 
636
            echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
 
637
          fi;                                                           \
 
638
          echo "$$col$$br$$std";                                        \
 
639
        fi;                                                             \
 
640
        $$success || exit 1
 
641
 
 
642
check-TESTS:
 
643
        @list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
 
644
        @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
 
645
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
 
646
        @set +e; $(am__set_TESTS_bases); \
 
647
        log_list=`for i in $$bases; do echo $$i.log; done`; \
 
648
        trs_list=`for i in $$bases; do echo $$i.trs; done`; \
 
649
        log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
 
650
        $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
 
651
        exit $$?;
 
652
recheck: all $(check_SCRIPTS)
 
653
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
 
654
        @set +e; $(am__set_TESTS_bases); \
 
655
        bases=`for i in $$bases; do echo $$i; done \
 
656
                 | $(am__list_recheck_tests)` || exit 1; \
 
657
        log_list=`for i in $$bases; do echo $$i.log; done`; \
 
658
        log_list=`echo $$log_list`; \
 
659
        $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
 
660
                am__force_recheck=am--force-recheck \
 
661
                TEST_LOGS="$$log_list"; \
 
662
        exit $$?
 
663
run.tests.log: run.tests
 
664
        @p='run.tests'; \
 
665
        b='run.tests'; \
 
666
        $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
 
667
        --log-file $$b.log --trs-file $$b.trs \
 
668
        $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
 
669
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
670
.test.log:
 
671
        @p='$<'; \
 
672
        $(am__set_b); \
 
673
        $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
 
674
        --log-file $$b.log --trs-file $$b.trs \
 
675
        $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
 
676
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
677
@am__EXEEXT_TRUE@.test$(EXEEXT).log:
 
678
@am__EXEEXT_TRUE@       @p='$<'; \
 
679
@am__EXEEXT_TRUE@       $(am__set_b); \
 
680
@am__EXEEXT_TRUE@       $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
 
681
@am__EXEEXT_TRUE@       --log-file $$b.log --trs-file $$b.trs \
 
682
@am__EXEEXT_TRUE@       $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
 
683
@am__EXEEXT_TRUE@       "$$tst" $(AM_TESTS_FD_REDIRECT)
349
684
 
350
685
distdir: $(DISTFILES)
351
686
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
403
738
            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
404
739
        fi
405
740
mostlyclean-generic:
 
741
        -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
 
742
        -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
 
743
        -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
406
744
 
407
745
clean-generic:
408
746
 
482
820
.MAKE: check-am install-am install-strip
483
821
 
484
822
.PHONY: all all-am check check-TESTS check-am clean clean-generic \
485
 
        clean-libtool distclean distclean-generic distclean-libtool \
486
 
        distdir dvi dvi-am html html-am info info-am install \
487
 
        install-am install-data install-data-am install-dvi \
488
 
        install-dvi-am install-exec install-exec-am install-html \
489
 
        install-html-am install-info install-info-am install-man \
490
 
        install-pdf install-pdf-am install-ps install-ps-am \
491
 
        install-strip installcheck installcheck-am installdirs \
492
 
        maintainer-clean maintainer-clean-generic mostlyclean \
493
 
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
 
823
        clean-libtool cscopelist-am ctags-am distclean \
 
824
        distclean-generic distclean-libtool distdir dvi dvi-am html \
 
825
        html-am info info-am install install-am install-data \
 
826
        install-data-am install-dvi install-dvi-am install-exec \
 
827
        install-exec-am install-html install-html-am install-info \
 
828
        install-info-am install-man install-pdf install-pdf-am \
 
829
        install-ps install-ps-am install-strip installcheck \
 
830
        installcheck-am installdirs maintainer-clean \
 
831
        maintainer-clean-generic mostlyclean mostlyclean-generic \
 
832
        mostlyclean-libtool pdf pdf-am ps ps-am recheck tags-am \
494
833
        uninstall uninstall-am
495
834
 
496
835