~ubuntu-branches/ubuntu/vivid/nbdkit/vivid

« back to all changes in this revision

Viewing changes to tests/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Hilko Bengen
  • Date: 2013-10-06 15:25:05 UTC
  • mto: (10.1.1 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: package-import@ubuntu.com-20131006152505-iul8k8f2rvyahg1c
Tags: upstream-1.1.3
ImportĀ upstreamĀ versionĀ 1.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.12.2 from Makefile.am.
 
1
# Makefile.in generated by automake 1.13.4 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
 
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
 
4
# Copyright (C) 1994-2013 Free Software Foundation, Inc.
5
5
 
6
6
# This Makefile.in is free software; the Free Software Foundation
7
7
# gives unlimited permission to copy and/or distribute it,
45
45
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
46
46
# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
47
47
# SUCH DAMAGE.
48
 
 
49
 
 
50
48
VPATH = @srcdir@
51
 
am__make_dryrun = \
52
 
  { \
53
 
    am__dry=no; \
 
49
am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
 
50
am__make_running_with_option = \
 
51
  case $${target_option-} in \
 
52
      ?) ;; \
 
53
      *) echo "am__make_running_with_option: internal error: invalid" \
 
54
              "target option '$${target_option-}' specified" >&2; \
 
55
         exit 1;; \
 
56
  esac; \
 
57
  has_opt=no; \
 
58
  sane_makeflags=$$MAKEFLAGS; \
 
59
  if $(am__is_gnu_make); then \
 
60
    sane_makeflags=$$MFLAGS; \
 
61
  else \
54
62
    case $$MAKEFLAGS in \
55
63
      *\\[\ \   ]*) \
56
 
        echo 'am--echo: ; @echo "AM"  OK' | $(MAKE) -f - 2>/dev/null \
57
 
          | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
58
 
      *) \
59
 
        for am__flg in $$MAKEFLAGS; do \
60
 
          case $$am__flg in \
61
 
            *=*|--*) ;; \
62
 
            *n*) am__dry=yes; break;; \
63
 
          esac; \
64
 
        done;; \
65
 
    esac; \
66
 
    test $$am__dry = yes; \
67
 
  }
 
64
        bs=\\; \
 
65
        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
 
66
          | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
 
67
    esac; \
 
68
  fi; \
 
69
  skip_next=no; \
 
70
  strip_trailopt () \
 
71
  { \
 
72
    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
 
73
  }; \
 
74
  for flg in $$sane_makeflags; do \
 
75
    test $$skip_next = yes && { skip_next=no; continue; }; \
 
76
    case $$flg in \
 
77
      *=*|--*) continue;; \
 
78
        -*I) strip_trailopt 'I'; skip_next=yes;; \
 
79
      -*I?*) strip_trailopt 'I';; \
 
80
        -*O) strip_trailopt 'O'; skip_next=yes;; \
 
81
      -*O?*) strip_trailopt 'O';; \
 
82
        -*l) strip_trailopt 'l'; skip_next=yes;; \
 
83
      -*l?*) strip_trailopt 'l';; \
 
84
      -[dEDm]) skip_next=yes;; \
 
85
      -[JT]) skip_next=yes;; \
 
86
    esac; \
 
87
    case $$flg in \
 
88
      *$$target_option*) has_opt=yes; break;; \
 
89
    esac; \
 
90
  done; \
 
91
  test $$has_opt = yes
 
92
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
 
93
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
68
94
pkgdatadir = $(datadir)/@PACKAGE@
69
95
pkgincludedir = $(includedir)/@PACKAGE@
70
96
pkglibdir = $(libdir)/@PACKAGE@
102
128
@HAVE_GUESTFISH_TRUE@@HAVE_LIBGUESTFS_TRUE@@HAVE_LIBLZMA_TRUE@am__append_8 = disk.xz
103
129
@HAVE_GUESTFISH_TRUE@@HAVE_LIBGUESTFS_TRUE@@HAVE_LIBLZMA_TRUE@am__append_9 = disk.xz
104
130
subdir = tests
105
 
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
106
 
        $(top_srcdir)/depcomp
 
131
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
 
132
        $(top_srcdir)/depcomp $(top_srcdir)/test-driver
107
133
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
108
134
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
109
135
        $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
115
141
CONFIG_HEADER = $(top_builddir)/config.h
116
142
CONFIG_CLEAN_FILES =
117
143
CONFIG_CLEAN_VPATH_FILES =
118
 
LTLIBRARIES = $(noinst_LTLIBRARIES)
119
144
libtest_la_LIBADD =
120
145
am__libtest_la_SOURCES_DIST = test.c test.h
121
146
@HAVE_LIBGUESTFS_TRUE@am_libtest_la_OBJECTS = libtest_la-test.lo
122
147
libtest_la_OBJECTS = $(am_libtest_la_OBJECTS)
123
 
libtest_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
 
148
AM_V_lt = $(am__v_lt_@AM_V@)
 
149
am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
 
150
am__v_lt_0 = --silent
 
151
am__v_lt_1 = 
 
152
libtest_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
124
153
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libtest_la_CFLAGS) \
125
154
        $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
126
155
@HAVE_LIBGUESTFS_TRUE@am_libtest_la_rpath =
133
162
am__DEPENDENCIES_1 =
134
163
@HAVE_LIBGUESTFS_TRUE@test_connect_DEPENDENCIES = libtest.la \
135
164
@HAVE_LIBGUESTFS_TRUE@  $(am__DEPENDENCIES_1)
136
 
test_connect_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
 
165
test_connect_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
137
166
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_connect_CFLAGS) \
138
167
        $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
139
168
am__test_file_SOURCES_DIST = test-file.c test.h
142
171
test_file_OBJECTS = $(am_test_file_OBJECTS)
143
172
@HAVE_LIBGUESTFS_TRUE@test_file_DEPENDENCIES = libtest.la \
144
173
@HAVE_LIBGUESTFS_TRUE@  $(am__DEPENDENCIES_1)
145
 
test_file_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
 
174
test_file_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
146
175
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_file_CFLAGS) \
147
176
        $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
148
177
am__test_gzip_SOURCES_DIST = test-gzip.c test.h
150
179
test_gzip_OBJECTS = $(am_test_gzip_OBJECTS)
151
180
@HAVE_GUESTFISH_TRUE@@HAVE_LIBGUESTFS_TRUE@@HAVE_ZLIB_TRUE@test_gzip_DEPENDENCIES = libtest.la \
152
181
@HAVE_GUESTFISH_TRUE@@HAVE_LIBGUESTFS_TRUE@@HAVE_ZLIB_TRUE@     $(am__DEPENDENCIES_1)
153
 
test_gzip_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
 
182
test_gzip_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
154
183
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_gzip_CFLAGS) \
155
184
        $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
156
185
am__test_xz_SOURCES_DIST = test-xz.c test.h
158
187
test_xz_OBJECTS = $(am_test_xz_OBJECTS)
159
188
@HAVE_GUESTFISH_TRUE@@HAVE_LIBGUESTFS_TRUE@@HAVE_LIBLZMA_TRUE@test_xz_DEPENDENCIES = libtest.la \
160
189
@HAVE_GUESTFISH_TRUE@@HAVE_LIBGUESTFS_TRUE@@HAVE_LIBLZMA_TRUE@  $(am__DEPENDENCIES_1)
161
 
test_xz_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
162
 
        --mode=link $(CCLD) $(test_xz_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
163
 
        $(LDFLAGS) -o $@
 
190
test_xz_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 
191
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(test_xz_CFLAGS) \
 
192
        $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
 
193
AM_V_P = $(am__v_P_@AM_V@)
 
194
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
 
195
am__v_P_0 = false
 
196
am__v_P_1 = :
 
197
AM_V_GEN = $(am__v_GEN_@AM_V@)
 
198
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
 
199
am__v_GEN_0 = @echo "  GEN     " $@;
 
200
am__v_GEN_1 = 
 
201
AM_V_at = $(am__v_at_@AM_V@)
 
202
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
 
203
am__v_at_0 = @
 
204
am__v_at_1 = 
164
205
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
165
206
depcomp = $(SHELL) $(top_srcdir)/depcomp
166
207
am__depfiles_maybe = depfiles
167
208
am__mv = mv -f
168
209
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
169
210
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
170
 
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
171
 
        --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
172
 
        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
211
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 
212
        $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
 
213
        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
 
214
        $(AM_CFLAGS) $(CFLAGS)
 
215
AM_V_CC = $(am__v_CC_@AM_V@)
 
216
am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
 
217
am__v_CC_0 = @echo "  CC      " $@;
 
218
am__v_CC_1 = 
173
219
CCLD = $(CC)
174
 
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
175
 
        --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
176
 
        $(LDFLAGS) -o $@
 
220
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 
221
        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
 
222
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
 
223
AM_V_CCLD = $(am__v_CCLD_@AM_V@)
 
224
am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
 
225
am__v_CCLD_0 = @echo "  CCLD    " $@;
 
226
am__v_CCLD_1 = 
177
227
SOURCES = $(libtest_la_SOURCES) $(test_connect_SOURCES) \
178
228
        $(test_file_SOURCES) $(test_gzip_SOURCES) $(test_xz_SOURCES)
179
229
DIST_SOURCES = $(am__libtest_la_SOURCES_DIST) \
184
234
    n|no|NO) false;; \
185
235
    *) (install-info --version) >/dev/null 2>&1;; \
186
236
  esac
187
 
DATA = $(noinst_DATA)
 
237
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 
238
# Read a list of newline-separated strings from the standard input,
 
239
# and print each of them once, without duplicates.  Input order is
 
240
# *not* preserved.
 
241
am__uniquify_input = $(AWK) '\
 
242
  BEGIN { nonempty = 0; } \
 
243
  { items[$$0] = 1; nonempty = 1; } \
 
244
  END { if (nonempty) { for (i in items) print i; }; } \
 
245
'
 
246
# Make sure the list of sources is unique.  This is necessary because,
 
247
# e.g., the same source file might be shared among _SOURCES variables
 
248
# for different programs/libraries.
 
249
am__define_uniq_tagged_files = \
 
250
  list='$(am__tagged_files)'; \
 
251
  unique=`for i in $$list; do \
 
252
    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 
253
  done | $(am__uniquify_input)`
188
254
ETAGS = etags
189
255
CTAGS = ctags
190
256
am__tty_colors_dummy = \
191
257
  mgn= red= grn= lgn= blu= brg= std=; \
192
258
  am__color_tests=no
193
 
am__tty_colors = $(am__tty_colors_dummy)
 
259
am__tty_colors = { \
 
260
  $(am__tty_colors_dummy); \
 
261
  if test "X$(AM_COLOR_TESTS)" = Xno; then \
 
262
    am__color_tests=no; \
 
263
  elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
 
264
    am__color_tests=yes; \
 
265
  elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
 
266
    am__color_tests=yes; \
 
267
  fi; \
 
268
  if test $$am__color_tests = yes; then \
 
269
    red=''; \
 
270
    grn=''; \
 
271
    lgn=''; \
 
272
    blu=''; \
 
273
    mgn=''; \
 
274
    brg=''; \
 
275
    std=''; \
 
276
  fi; \
 
277
}
 
278
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 
279
am__vpath_adj = case $$p in \
 
280
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
 
281
    *) f=$$p;; \
 
282
  esac;
 
283
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
 
284
am__install_max = 40
 
285
am__nobase_strip_setup = \
 
286
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
 
287
am__nobase_strip = \
 
288
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
 
289
am__nobase_list = $(am__nobase_strip_setup); \
 
290
  for p in $$list; do echo "$$p $$p"; done | \
 
291
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
 
292
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
 
293
    if (++n[$$2] == $(am__install_max)) \
 
294
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
 
295
    END { for (dir in files) print dir, files[dir] }'
 
296
am__base_list = \
 
297
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
 
298
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
 
299
am__uninstall_files_from_dir = { \
 
300
  test -z "$$files" \
 
301
    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
 
302
    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
 
303
         $(am__cd) "$$dir" && rm -f $$files; }; \
 
304
  }
 
305
am__recheck_rx = ^[     ]*:recheck:[    ]*
 
306
am__global_test_result_rx = ^[  ]*:global-test-result:[         ]*
 
307
am__copy_in_global_log_rx = ^[  ]*:copy-in-global-log:[         ]*
 
308
# A command that, given a newline-separated list of test names on the
 
309
# standard input, print the name of the tests that are to be re-run
 
310
# upon "make recheck".
 
311
am__list_recheck_tests = $(AWK) '{ \
 
312
  recheck = 1; \
 
313
  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
 
314
    { \
 
315
      if (rc < 0) \
 
316
        { \
 
317
          if ((getline line2 < ($$0 ".log")) < 0) \
 
318
            recheck = 0; \
 
319
          break; \
 
320
        } \
 
321
      else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
 
322
        { \
 
323
          recheck = 0; \
 
324
          break; \
 
325
        } \
 
326
      else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
 
327
        { \
 
328
          break; \
 
329
        } \
 
330
    }; \
 
331
  if (recheck) \
 
332
    print $$0; \
 
333
  close ($$0 ".trs"); \
 
334
  close ($$0 ".log"); \
 
335
}'
 
336
# A command that, given a newline-separated list of test names on the
 
337
# standard input, create the global log from their .trs and .log files.
 
338
am__create_global_log = $(AWK) ' \
 
339
function fatal(msg) \
 
340
{ \
 
341
  print "fatal: making $@: " msg | "cat >&2"; \
 
342
  exit 1; \
 
343
} \
 
344
function rst_section(header) \
 
345
{ \
 
346
  print header; \
 
347
  len = length(header); \
 
348
  for (i = 1; i <= len; i = i + 1) \
 
349
    printf "="; \
 
350
  printf "\n\n"; \
 
351
} \
 
352
{ \
 
353
  copy_in_global_log = 1; \
 
354
  global_test_result = "RUN"; \
 
355
  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
 
356
    { \
 
357
      if (rc < 0) \
 
358
         fatal("failed to read from " $$0 ".trs"); \
 
359
      if (line ~ /$(am__global_test_result_rx)/) \
 
360
        { \
 
361
          sub("$(am__global_test_result_rx)", "", line); \
 
362
          sub("[        ]*$$", "", line); \
 
363
          global_test_result = line; \
 
364
        } \
 
365
      else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
 
366
        copy_in_global_log = 0; \
 
367
    }; \
 
368
  if (copy_in_global_log) \
 
369
    { \
 
370
      rst_section(global_test_result ": " $$0); \
 
371
      while ((rc = (getline line < ($$0 ".log"))) != 0) \
 
372
      { \
 
373
        if (rc < 0) \
 
374
          fatal("failed to read from " $$0 ".log"); \
 
375
        print line; \
 
376
      }; \
 
377
      printf "\n"; \
 
378
    }; \
 
379
  close ($$0 ".trs"); \
 
380
  close ($$0 ".log"); \
 
381
}'
 
382
# Restructured Text title.
 
383
am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
 
384
# Solaris 10 'make', and several other traditional 'make' implementations,
 
385
# pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
 
386
# by disabling -e (using the XSI extension "set +e") if it's set.
 
387
am__sh_e_setup = case $$- in *e*) set +e;; esac
 
388
# Default flags passed to test drivers.
 
389
am__common_driver_flags = \
 
390
  --color-tests "$$am__color_tests" \
 
391
  --enable-hard-errors "$$am__enable_hard_errors" \
 
392
  --expect-failure "$$am__expect_failure"
 
393
# To be inserted before the command running the test.  Creates the
 
394
# directory for the log if needed.  Stores in $dir the directory
 
395
# containing $f, in $tst the test, in $log the log.  Executes the
 
396
# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
 
397
# passes TESTS_ENVIRONMENT.  Set up options for the wrapper that
 
398
# will run the test scripts (or their associated LOG_COMPILER, if
 
399
# thy have one).
 
400
am__check_pre = \
 
401
$(am__sh_e_setup);                                      \
 
402
$(am__vpath_adj_setup) $(am__vpath_adj)                 \
 
403
$(am__tty_colors);                                      \
 
404
srcdir=$(srcdir); export srcdir;                        \
 
405
case "$@" in                                            \
 
406
  */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;    \
 
407
    *) am__odir=.;;                                     \
 
408
esac;                                                   \
 
409
test "x$$am__odir" = x"." || test -d "$$am__odir"       \
 
410
  || $(MKDIR_P) "$$am__odir" || exit $$?;               \
 
411
if test -f "./$$f"; then dir=./;                        \
 
412
elif test -f "$$f"; then dir=;                          \
 
413
else dir="$(srcdir)/"; fi;                              \
 
414
tst=$$dir$$f; log='$@';                                 \
 
415
if test -n '$(DISABLE_HARD_ERRORS)'; then               \
 
416
  am__enable_hard_errors=no;                            \
 
417
else                                                    \
 
418
  am__enable_hard_errors=yes;                           \
 
419
fi;                                                     \
 
420
case " $(XFAIL_TESTS) " in                              \
 
421
  *[\ \ ]$$f[\ \        ]* | *[\ \      ]$$dir$$f[\ \   ]*) \
 
422
    am__expect_failure=yes;;                            \
 
423
  *)                                                    \
 
424
    am__expect_failure=no;;                             \
 
425
esac;                                                   \
 
426
$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
 
427
# A shell command to get the names of the tests scripts with any registered
 
428
# extension removed (i.e., equivalently, the names of the test logs, with
 
429
# the '.log' extension removed).  The result is saved in the shell variable
 
430
# '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
 
431
# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
 
432
# since that might cause problem with VPATH rewrites for suffix-less tests.
 
433
# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
 
434
am__set_TESTS_bases = \
 
435
  bases='$(TEST_LOGS)'; \
 
436
  bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
 
437
  bases=`echo $$bases`
 
438
RECHECK_LOGS = $(TEST_LOGS)
 
439
AM_RECURSIVE_TARGETS = check recheck
 
440
TEST_SUITE_LOG = test-suite.log
 
441
TEST_EXTENSIONS = @EXEEXT@ .test
 
442
LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
 
443
LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
 
444
am__set_b = \
 
445
  case '$@' in \
 
446
    */*) \
 
447
      case '$*' in \
 
448
        */*) b='$*';; \
 
449
          *) b=`echo '$@' | sed 's/\.log$$//'`; \
 
450
       esac;; \
 
451
    *) \
 
452
      b='$*';; \
 
453
  esac
 
454
am__test_logs1 = $(TESTS:=.log)
 
455
am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
 
456
TEST_LOGS = $(am__test_logs2:.test.log=.log)
 
457
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
 
458
TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
 
459
        $(TEST_LOG_FLAGS)
194
460
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
195
461
ACLOCAL = @ACLOCAL@
196
462
AMTAR = @AMTAR@
 
463
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
197
464
AR = @AR@
198
465
AUTOCONF = @AUTOCONF@
199
466
AUTOHEADER = @AUTOHEADER@
328
595
@HAVE_LIBGUESTFS_TRUE@TESTS_ENVIRONMENT = LIBGUESTFS_ATTACH_METHOD=appliance
329
596
 
330
597
# Common test library.
331
 
@HAVE_LIBGUESTFS_TRUE@noinst_LTLIBRARIES = libtest.la
 
598
@HAVE_LIBGUESTFS_TRUE@check_LTLIBRARIES = libtest.la
332
599
@HAVE_LIBGUESTFS_TRUE@libtest_la_SOURCES = test.c test.h
333
600
@HAVE_LIBGUESTFS_TRUE@libtest_la_CFLAGS = $(WARNINGS_CFLAGS)
334
 
@HAVE_LIBGUESTFS_TRUE@noinst_DATA = file-data $(am__append_4) \
 
601
@HAVE_LIBGUESTFS_TRUE@check_DATA = file-data $(am__append_4) \
335
602
@HAVE_LIBGUESTFS_TRUE@  $(am__append_8)
336
603
@HAVE_LIBGUESTFS_TRUE@test_connect_SOURCES = test-connect.c test.h
337
604
@HAVE_LIBGUESTFS_TRUE@test_connect_CFLAGS = $(WARNINGS_CFLAGS) $(LIBGUESTFS_CFLAGS)
348
615
all: all-am
349
616
 
350
617
.SUFFIXES:
351
 
.SUFFIXES: .c .lo .o .obj
 
618
.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
352
619
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
353
620
        @for dep in $?; do \
354
621
          case '$(am__configure_deps)' in \
380
647
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
381
648
$(am__aclocal_m4_deps):
382
649
 
383
 
clean-noinstLTLIBRARIES:
384
 
        -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
385
 
        @list='$(noinst_LTLIBRARIES)'; \
 
650
clean-checkLTLIBRARIES:
 
651
        -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES)
 
652
        @list='$(check_LTLIBRARIES)'; \
386
653
        locs=`for p in $$list; do echo $$p; done | \
387
654
              sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
388
655
              sort -u`; \
390
657
          echo rm -f $${locs}; \
391
658
          rm -f $${locs}; \
392
659
        }
 
660
 
393
661
libtest.la: $(libtest_la_OBJECTS) $(libtest_la_DEPENDENCIES) $(EXTRA_libtest_la_DEPENDENCIES) 
394
 
        $(libtest_la_LINK) $(am_libtest_la_rpath) $(libtest_la_OBJECTS) $(libtest_la_LIBADD) $(LIBS)
 
662
        $(AM_V_CCLD)$(libtest_la_LINK) $(am_libtest_la_rpath) $(libtest_la_OBJECTS) $(libtest_la_LIBADD) $(LIBS)
395
663
 
396
664
clean-checkPROGRAMS:
397
665
        @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
401
669
        list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
402
670
        echo " rm -f" $$list; \
403
671
        rm -f $$list
 
672
 
404
673
test-connect$(EXEEXT): $(test_connect_OBJECTS) $(test_connect_DEPENDENCIES) $(EXTRA_test_connect_DEPENDENCIES) 
405
674
        @rm -f test-connect$(EXEEXT)
406
 
        $(test_connect_LINK) $(test_connect_OBJECTS) $(test_connect_LDADD) $(LIBS)
 
675
        $(AM_V_CCLD)$(test_connect_LINK) $(test_connect_OBJECTS) $(test_connect_LDADD) $(LIBS)
 
676
 
407
677
test-file$(EXEEXT): $(test_file_OBJECTS) $(test_file_DEPENDENCIES) $(EXTRA_test_file_DEPENDENCIES) 
408
678
        @rm -f test-file$(EXEEXT)
409
 
        $(test_file_LINK) $(test_file_OBJECTS) $(test_file_LDADD) $(LIBS)
 
679
        $(AM_V_CCLD)$(test_file_LINK) $(test_file_OBJECTS) $(test_file_LDADD) $(LIBS)
 
680
 
410
681
test-gzip$(EXEEXT): $(test_gzip_OBJECTS) $(test_gzip_DEPENDENCIES) $(EXTRA_test_gzip_DEPENDENCIES) 
411
682
        @rm -f test-gzip$(EXEEXT)
412
 
        $(test_gzip_LINK) $(test_gzip_OBJECTS) $(test_gzip_LDADD) $(LIBS)
 
683
        $(AM_V_CCLD)$(test_gzip_LINK) $(test_gzip_OBJECTS) $(test_gzip_LDADD) $(LIBS)
 
684
 
413
685
test-xz$(EXEEXT): $(test_xz_OBJECTS) $(test_xz_DEPENDENCIES) $(EXTRA_test_xz_DEPENDENCIES) 
414
686
        @rm -f test-xz$(EXEEXT)
415
 
        $(test_xz_LINK) $(test_xz_OBJECTS) $(test_xz_LDADD) $(LIBS)
 
687
        $(AM_V_CCLD)$(test_xz_LINK) $(test_xz_OBJECTS) $(test_xz_LDADD) $(LIBS)
416
688
 
417
689
mostlyclean-compile:
418
690
        -rm -f *.$(OBJEXT)
427
699
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test_xz-test-xz.Po@am__quote@
428
700
 
429
701
.c.o:
430
 
@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
431
 
@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
432
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 
702
@am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
 
703
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
 
704
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
433
705
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
434
 
@am__fastdepCC_FALSE@   $(COMPILE) -c $<
 
706
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c $<
435
707
 
436
708
.c.obj:
437
 
@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
438
 
@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
439
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
 
709
@am__fastdepCC_TRUE@    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
 
710
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
 
711
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
440
712
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
441
 
@am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
 
713
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'`
442
714
 
443
715
.c.lo:
444
 
@am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
445
 
@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
446
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
 
716
@am__fastdepCC_TRUE@    $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
 
717
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
 
718
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
447
719
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
448
 
@am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
 
720
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
449
721
 
450
722
libtest_la-test.lo: test.c
451
 
@am__fastdepCC_TRUE@    $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_la_CFLAGS) $(CFLAGS) -MT libtest_la-test.lo -MD -MP -MF $(DEPDIR)/libtest_la-test.Tpo -c -o libtest_la-test.lo `test -f 'test.c' || echo '$(srcdir)/'`test.c
452
 
@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/libtest_la-test.Tpo $(DEPDIR)/libtest_la-test.Plo
453
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='test.c' object='libtest_la-test.lo' libtool=yes @AMDEPBACKSLASH@
 
723
@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_la_CFLAGS) $(CFLAGS) -MT libtest_la-test.lo -MD -MP -MF $(DEPDIR)/libtest_la-test.Tpo -c -o libtest_la-test.lo `test -f 'test.c' || echo '$(srcdir)/'`test.c
 
724
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/libtest_la-test.Tpo $(DEPDIR)/libtest_la-test.Plo
 
725
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='test.c' object='libtest_la-test.lo' libtool=yes @AMDEPBACKSLASH@
454
726
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
455
 
@am__fastdepCC_FALSE@   $(LIBTOOL)  --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_la_CFLAGS) $(CFLAGS) -c -o libtest_la-test.lo `test -f 'test.c' || echo '$(srcdir)/'`test.c
 
727
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_la_CFLAGS) $(CFLAGS) -c -o libtest_la-test.lo `test -f 'test.c' || echo '$(srcdir)/'`test.c
456
728
 
457
729
test_connect-test-connect.o: test-connect.c
458
 
@am__fastdepCC_TRUE@    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_connect_CFLAGS) $(CFLAGS) -MT test_connect-test-connect.o -MD -MP -MF $(DEPDIR)/test_connect-test-connect.Tpo -c -o test_connect-test-connect.o `test -f 'test-connect.c' || echo '$(srcdir)/'`test-connect.c
459
 
@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/test_connect-test-connect.Tpo $(DEPDIR)/test_connect-test-connect.Po
460
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='test-connect.c' object='test_connect-test-connect.o' libtool=no @AMDEPBACKSLASH@
 
730
@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_connect_CFLAGS) $(CFLAGS) -MT test_connect-test-connect.o -MD -MP -MF $(DEPDIR)/test_connect-test-connect.Tpo -c -o test_connect-test-connect.o `test -f 'test-connect.c' || echo '$(srcdir)/'`test-connect.c
 
731
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/test_connect-test-connect.Tpo $(DEPDIR)/test_connect-test-connect.Po
 
732
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='test-connect.c' object='test_connect-test-connect.o' libtool=no @AMDEPBACKSLASH@
461
733
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
462
 
@am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_connect_CFLAGS) $(CFLAGS) -c -o test_connect-test-connect.o `test -f 'test-connect.c' || echo '$(srcdir)/'`test-connect.c
 
734
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_connect_CFLAGS) $(CFLAGS) -c -o test_connect-test-connect.o `test -f 'test-connect.c' || echo '$(srcdir)/'`test-connect.c
463
735
 
464
736
test_connect-test-connect.obj: test-connect.c
465
 
@am__fastdepCC_TRUE@    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_connect_CFLAGS) $(CFLAGS) -MT test_connect-test-connect.obj -MD -MP -MF $(DEPDIR)/test_connect-test-connect.Tpo -c -o test_connect-test-connect.obj `if test -f 'test-connect.c'; then $(CYGPATH_W) 'test-connect.c'; else $(CYGPATH_W) '$(srcdir)/test-connect.c'; fi`
466
 
@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/test_connect-test-connect.Tpo $(DEPDIR)/test_connect-test-connect.Po
467
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='test-connect.c' object='test_connect-test-connect.obj' libtool=no @AMDEPBACKSLASH@
 
737
@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_connect_CFLAGS) $(CFLAGS) -MT test_connect-test-connect.obj -MD -MP -MF $(DEPDIR)/test_connect-test-connect.Tpo -c -o test_connect-test-connect.obj `if test -f 'test-connect.c'; then $(CYGPATH_W) 'test-connect.c'; else $(CYGPATH_W) '$(srcdir)/test-connect.c'; fi`
 
738
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/test_connect-test-connect.Tpo $(DEPDIR)/test_connect-test-connect.Po
 
739
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='test-connect.c' object='test_connect-test-connect.obj' libtool=no @AMDEPBACKSLASH@
468
740
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
469
 
@am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_connect_CFLAGS) $(CFLAGS) -c -o test_connect-test-connect.obj `if test -f 'test-connect.c'; then $(CYGPATH_W) 'test-connect.c'; else $(CYGPATH_W) '$(srcdir)/test-connect.c'; fi`
 
741
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_connect_CFLAGS) $(CFLAGS) -c -o test_connect-test-connect.obj `if test -f 'test-connect.c'; then $(CYGPATH_W) 'test-connect.c'; else $(CYGPATH_W) '$(srcdir)/test-connect.c'; fi`
470
742
 
471
743
test_file-test-file.o: test-file.c
472
 
@am__fastdepCC_TRUE@    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_file_CFLAGS) $(CFLAGS) -MT test_file-test-file.o -MD -MP -MF $(DEPDIR)/test_file-test-file.Tpo -c -o test_file-test-file.o `test -f 'test-file.c' || echo '$(srcdir)/'`test-file.c
473
 
@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/test_file-test-file.Tpo $(DEPDIR)/test_file-test-file.Po
474
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='test-file.c' object='test_file-test-file.o' libtool=no @AMDEPBACKSLASH@
 
744
@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_file_CFLAGS) $(CFLAGS) -MT test_file-test-file.o -MD -MP -MF $(DEPDIR)/test_file-test-file.Tpo -c -o test_file-test-file.o `test -f 'test-file.c' || echo '$(srcdir)/'`test-file.c
 
745
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/test_file-test-file.Tpo $(DEPDIR)/test_file-test-file.Po
 
746
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='test-file.c' object='test_file-test-file.o' libtool=no @AMDEPBACKSLASH@
475
747
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
476
 
@am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_file_CFLAGS) $(CFLAGS) -c -o test_file-test-file.o `test -f 'test-file.c' || echo '$(srcdir)/'`test-file.c
 
748
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_file_CFLAGS) $(CFLAGS) -c -o test_file-test-file.o `test -f 'test-file.c' || echo '$(srcdir)/'`test-file.c
477
749
 
478
750
test_file-test-file.obj: test-file.c
479
 
@am__fastdepCC_TRUE@    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_file_CFLAGS) $(CFLAGS) -MT test_file-test-file.obj -MD -MP -MF $(DEPDIR)/test_file-test-file.Tpo -c -o test_file-test-file.obj `if test -f 'test-file.c'; then $(CYGPATH_W) 'test-file.c'; else $(CYGPATH_W) '$(srcdir)/test-file.c'; fi`
480
 
@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/test_file-test-file.Tpo $(DEPDIR)/test_file-test-file.Po
481
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='test-file.c' object='test_file-test-file.obj' libtool=no @AMDEPBACKSLASH@
 
751
@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_file_CFLAGS) $(CFLAGS) -MT test_file-test-file.obj -MD -MP -MF $(DEPDIR)/test_file-test-file.Tpo -c -o test_file-test-file.obj `if test -f 'test-file.c'; then $(CYGPATH_W) 'test-file.c'; else $(CYGPATH_W) '$(srcdir)/test-file.c'; fi`
 
752
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/test_file-test-file.Tpo $(DEPDIR)/test_file-test-file.Po
 
753
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='test-file.c' object='test_file-test-file.obj' libtool=no @AMDEPBACKSLASH@
482
754
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
483
 
@am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_file_CFLAGS) $(CFLAGS) -c -o test_file-test-file.obj `if test -f 'test-file.c'; then $(CYGPATH_W) 'test-file.c'; else $(CYGPATH_W) '$(srcdir)/test-file.c'; fi`
 
755
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_file_CFLAGS) $(CFLAGS) -c -o test_file-test-file.obj `if test -f 'test-file.c'; then $(CYGPATH_W) 'test-file.c'; else $(CYGPATH_W) '$(srcdir)/test-file.c'; fi`
484
756
 
485
757
test_gzip-test-gzip.o: test-gzip.c
486
 
@am__fastdepCC_TRUE@    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_gzip_CFLAGS) $(CFLAGS) -MT test_gzip-test-gzip.o -MD -MP -MF $(DEPDIR)/test_gzip-test-gzip.Tpo -c -o test_gzip-test-gzip.o `test -f 'test-gzip.c' || echo '$(srcdir)/'`test-gzip.c
487
 
@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/test_gzip-test-gzip.Tpo $(DEPDIR)/test_gzip-test-gzip.Po
488
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='test-gzip.c' object='test_gzip-test-gzip.o' libtool=no @AMDEPBACKSLASH@
 
758
@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_gzip_CFLAGS) $(CFLAGS) -MT test_gzip-test-gzip.o -MD -MP -MF $(DEPDIR)/test_gzip-test-gzip.Tpo -c -o test_gzip-test-gzip.o `test -f 'test-gzip.c' || echo '$(srcdir)/'`test-gzip.c
 
759
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/test_gzip-test-gzip.Tpo $(DEPDIR)/test_gzip-test-gzip.Po
 
760
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='test-gzip.c' object='test_gzip-test-gzip.o' libtool=no @AMDEPBACKSLASH@
489
761
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
490
 
@am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_gzip_CFLAGS) $(CFLAGS) -c -o test_gzip-test-gzip.o `test -f 'test-gzip.c' || echo '$(srcdir)/'`test-gzip.c
 
762
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_gzip_CFLAGS) $(CFLAGS) -c -o test_gzip-test-gzip.o `test -f 'test-gzip.c' || echo '$(srcdir)/'`test-gzip.c
491
763
 
492
764
test_gzip-test-gzip.obj: test-gzip.c
493
 
@am__fastdepCC_TRUE@    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_gzip_CFLAGS) $(CFLAGS) -MT test_gzip-test-gzip.obj -MD -MP -MF $(DEPDIR)/test_gzip-test-gzip.Tpo -c -o test_gzip-test-gzip.obj `if test -f 'test-gzip.c'; then $(CYGPATH_W) 'test-gzip.c'; else $(CYGPATH_W) '$(srcdir)/test-gzip.c'; fi`
494
 
@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/test_gzip-test-gzip.Tpo $(DEPDIR)/test_gzip-test-gzip.Po
495
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='test-gzip.c' object='test_gzip-test-gzip.obj' libtool=no @AMDEPBACKSLASH@
 
765
@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_gzip_CFLAGS) $(CFLAGS) -MT test_gzip-test-gzip.obj -MD -MP -MF $(DEPDIR)/test_gzip-test-gzip.Tpo -c -o test_gzip-test-gzip.obj `if test -f 'test-gzip.c'; then $(CYGPATH_W) 'test-gzip.c'; else $(CYGPATH_W) '$(srcdir)/test-gzip.c'; fi`
 
766
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/test_gzip-test-gzip.Tpo $(DEPDIR)/test_gzip-test-gzip.Po
 
767
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='test-gzip.c' object='test_gzip-test-gzip.obj' libtool=no @AMDEPBACKSLASH@
496
768
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
497
 
@am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_gzip_CFLAGS) $(CFLAGS) -c -o test_gzip-test-gzip.obj `if test -f 'test-gzip.c'; then $(CYGPATH_W) 'test-gzip.c'; else $(CYGPATH_W) '$(srcdir)/test-gzip.c'; fi`
 
769
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_gzip_CFLAGS) $(CFLAGS) -c -o test_gzip-test-gzip.obj `if test -f 'test-gzip.c'; then $(CYGPATH_W) 'test-gzip.c'; else $(CYGPATH_W) '$(srcdir)/test-gzip.c'; fi`
498
770
 
499
771
test_xz-test-xz.o: test-xz.c
500
 
@am__fastdepCC_TRUE@    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xz_CFLAGS) $(CFLAGS) -MT test_xz-test-xz.o -MD -MP -MF $(DEPDIR)/test_xz-test-xz.Tpo -c -o test_xz-test-xz.o `test -f 'test-xz.c' || echo '$(srcdir)/'`test-xz.c
501
 
@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/test_xz-test-xz.Tpo $(DEPDIR)/test_xz-test-xz.Po
502
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='test-xz.c' object='test_xz-test-xz.o' libtool=no @AMDEPBACKSLASH@
 
772
@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xz_CFLAGS) $(CFLAGS) -MT test_xz-test-xz.o -MD -MP -MF $(DEPDIR)/test_xz-test-xz.Tpo -c -o test_xz-test-xz.o `test -f 'test-xz.c' || echo '$(srcdir)/'`test-xz.c
 
773
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/test_xz-test-xz.Tpo $(DEPDIR)/test_xz-test-xz.Po
 
774
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='test-xz.c' object='test_xz-test-xz.o' libtool=no @AMDEPBACKSLASH@
503
775
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
504
 
@am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xz_CFLAGS) $(CFLAGS) -c -o test_xz-test-xz.o `test -f 'test-xz.c' || echo '$(srcdir)/'`test-xz.c
 
776
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xz_CFLAGS) $(CFLAGS) -c -o test_xz-test-xz.o `test -f 'test-xz.c' || echo '$(srcdir)/'`test-xz.c
505
777
 
506
778
test_xz-test-xz.obj: test-xz.c
507
 
@am__fastdepCC_TRUE@    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xz_CFLAGS) $(CFLAGS) -MT test_xz-test-xz.obj -MD -MP -MF $(DEPDIR)/test_xz-test-xz.Tpo -c -o test_xz-test-xz.obj `if test -f 'test-xz.c'; then $(CYGPATH_W) 'test-xz.c'; else $(CYGPATH_W) '$(srcdir)/test-xz.c'; fi`
508
 
@am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/test_xz-test-xz.Tpo $(DEPDIR)/test_xz-test-xz.Po
509
 
@AMDEP_TRUE@@am__fastdepCC_FALSE@       source='test-xz.c' object='test_xz-test-xz.obj' libtool=no @AMDEPBACKSLASH@
 
779
@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xz_CFLAGS) $(CFLAGS) -MT test_xz-test-xz.obj -MD -MP -MF $(DEPDIR)/test_xz-test-xz.Tpo -c -o test_xz-test-xz.obj `if test -f 'test-xz.c'; then $(CYGPATH_W) 'test-xz.c'; else $(CYGPATH_W) '$(srcdir)/test-xz.c'; fi`
 
780
@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/test_xz-test-xz.Tpo $(DEPDIR)/test_xz-test-xz.Po
 
781
@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='test-xz.c' object='test_xz-test-xz.obj' libtool=no @AMDEPBACKSLASH@
510
782
@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
511
 
@am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xz_CFLAGS) $(CFLAGS) -c -o test_xz-test-xz.obj `if test -f 'test-xz.c'; then $(CYGPATH_W) 'test-xz.c'; else $(CYGPATH_W) '$(srcdir)/test-xz.c'; fi`
 
783
@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_xz_CFLAGS) $(CFLAGS) -c -o test_xz-test-xz.obj `if test -f 'test-xz.c'; then $(CYGPATH_W) 'test-xz.c'; else $(CYGPATH_W) '$(srcdir)/test-xz.c'; fi`
512
784
 
513
785
mostlyclean-libtool:
514
786
        -rm -f *.lo
516
788
clean-libtool:
517
789
        -rm -rf .libs _libs
518
790
 
519
 
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
520
 
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
521
 
        unique=`for i in $$list; do \
522
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
523
 
          done | \
524
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
525
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
526
 
        mkid -fID $$unique
527
 
tags: TAGS
 
791
ID: $(am__tagged_files)
 
792
        $(am__define_uniq_tagged_files); mkid -fID $$unique
 
793
tags: tags-am
 
794
TAGS: tags
528
795
 
529
 
TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
530
 
                $(TAGS_FILES) $(LISP)
 
796
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
531
797
        set x; \
532
798
        here=`pwd`; \
533
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
534
 
        unique=`for i in $$list; do \
535
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
536
 
          done | \
537
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
538
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
799
        $(am__define_uniq_tagged_files); \
539
800
        shift; \
540
801
        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
541
802
          test -n "$$unique" || unique=$$empty_fix; \
547
808
              $$unique; \
548
809
          fi; \
549
810
        fi
550
 
ctags: CTAGS
551
 
CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
552
 
                $(TAGS_FILES) $(LISP)
553
 
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
554
 
        unique=`for i in $$list; do \
555
 
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
556
 
          done | \
557
 
          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
558
 
              END { if (nonempty) { for (i in files) print i; }; }'`; \
 
811
ctags: ctags-am
 
812
 
 
813
CTAGS: ctags
 
814
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
 
815
        $(am__define_uniq_tagged_files); \
559
816
        test -z "$(CTAGS_ARGS)$$unique" \
560
817
          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
561
818
             $$unique
564
821
        here=`$(am__cd) $(top_builddir) && pwd` \
565
822
          && $(am__cd) $(top_srcdir) \
566
823
          && gtags -i $(GTAGS_ARGS) "$$here"
 
824
cscopelist: cscopelist-am
567
825
 
568
 
cscopelist:  $(HEADERS) $(SOURCES) $(LISP)
569
 
        list='$(SOURCES) $(HEADERS) $(LISP)'; \
 
826
cscopelist-am: $(am__tagged_files)
 
827
        list='$(am__tagged_files)'; \
570
828
        case "$(srcdir)" in \
571
829
          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
572
830
          *) sdir=$(subdir)/$(srcdir) ;; \
582
840
distclean-tags:
583
841
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
584
842
 
585
 
check-TESTS: $(TESTS)
586
 
        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
587
 
        srcdir=$(srcdir); export srcdir; \
588
 
        list=' $(TESTS) '; \
589
 
        $(am__tty_colors); \
590
 
        if test -n "$$list"; then \
591
 
          for tst in $$list; do \
592
 
            if test -f ./$$tst; then dir=./; \
593
 
            elif test -f $$tst; then dir=; \
594
 
            else dir="$(srcdir)/"; fi; \
595
 
            if $(TESTS_ENVIRONMENT) $${dir}$$tst $(AM_TESTS_FD_REDIRECT); then \
596
 
              all=`expr $$all + 1`; \
597
 
              case " $(XFAIL_TESTS) " in \
598
 
              *[\ \     ]$$tst[\ \      ]*) \
599
 
                xpass=`expr $$xpass + 1`; \
600
 
                failed=`expr $$failed + 1`; \
601
 
                col=$$red; res=XPASS; \
602
 
              ;; \
603
 
              *) \
604
 
                col=$$grn; res=PASS; \
605
 
              ;; \
606
 
              esac; \
607
 
            elif test $$? -ne 77; then \
608
 
              all=`expr $$all + 1`; \
609
 
              case " $(XFAIL_TESTS) " in \
610
 
              *[\ \     ]$$tst[\ \      ]*) \
611
 
                xfail=`expr $$xfail + 1`; \
612
 
                col=$$lgn; res=XFAIL; \
613
 
              ;; \
614
 
              *) \
615
 
                failed=`expr $$failed + 1`; \
616
 
                col=$$red; res=FAIL; \
617
 
              ;; \
618
 
              esac; \
619
 
            else \
620
 
              skip=`expr $$skip + 1`; \
621
 
              col=$$blu; res=SKIP; \
622
 
            fi; \
623
 
            echo "$${col}$$res$${std}: $$tst"; \
 
843
# Recover from deleted '.trs' file; this should ensure that
 
844
# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
 
845
# both 'foo.log' and 'foo.trs'.  Break the recipe in two subshells
 
846
# to avoid problems with "make -n".
 
847
.log.trs:
 
848
        rm -f $< $@
 
849
        $(MAKE) $(AM_MAKEFLAGS) $<
 
850
 
 
851
# Leading 'am--fnord' is there to ensure the list of targets does not
 
852
# expand to empty, as could happen e.g. with make check TESTS=''.
 
853
am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
 
854
am--force-recheck:
 
855
        @:
 
856
 
 
857
$(TEST_SUITE_LOG): $(TEST_LOGS)
 
858
        @$(am__set_TESTS_bases); \
 
859
        am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
 
860
        redo_bases=`for i in $$bases; do \
 
861
                      am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
 
862
                    done`; \
 
863
        if test -n "$$redo_bases"; then \
 
864
          redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
 
865
          redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
 
866
          if $(am__make_dryrun); then :; else \
 
867
            rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
 
868
          fi; \
 
869
        fi; \
 
870
        if test -n "$$am__remaking_logs"; then \
 
871
          echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
 
872
               "recursion detected" >&2; \
 
873
        else \
 
874
          am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
 
875
        fi; \
 
876
        if $(am__make_dryrun); then :; else \
 
877
          st=0;  \
 
878
          errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
 
879
          for i in $$redo_bases; do \
 
880
            test -f $$i.trs && test -r $$i.trs \
 
881
              || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
 
882
            test -f $$i.log && test -r $$i.log \
 
883
              || { echo "$$errmsg $$i.log" >&2; st=1; }; \
624
884
          done; \
625
 
          if test "$$all" -eq 1; then \
626
 
            tests="test"; \
627
 
            All=""; \
628
 
          else \
629
 
            tests="tests"; \
630
 
            All="All "; \
631
 
          fi; \
632
 
          if test "$$failed" -eq 0; then \
633
 
            if test "$$xfail" -eq 0; then \
634
 
              banner="$$All$$all $$tests passed"; \
635
 
            else \
636
 
              if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
637
 
              banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
638
 
            fi; \
639
 
          else \
640
 
            if test "$$xpass" -eq 0; then \
641
 
              banner="$$failed of $$all $$tests failed"; \
642
 
            else \
643
 
              if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
644
 
              banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
645
 
            fi; \
646
 
          fi; \
647
 
          dashes="$$banner"; \
648
 
          skipped=""; \
649
 
          if test "$$skip" -ne 0; then \
650
 
            if test "$$skip" -eq 1; then \
651
 
              skipped="($$skip test was not run)"; \
652
 
            else \
653
 
              skipped="($$skip tests were not run)"; \
654
 
            fi; \
655
 
            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
656
 
              dashes="$$skipped"; \
657
 
          fi; \
658
 
          report=""; \
659
 
          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
660
 
            report="Please report to $(PACKAGE_BUGREPORT)"; \
661
 
            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
662
 
              dashes="$$report"; \
663
 
          fi; \
664
 
          dashes=`echo "$$dashes" | sed s/./=/g`; \
665
 
          if test "$$failed" -eq 0; then \
666
 
            col="$$grn"; \
667
 
          else \
668
 
            col="$$red"; \
669
 
          fi; \
670
 
          echo "$${col}$$dashes$${std}"; \
671
 
          echo "$${col}$$banner$${std}"; \
672
 
          test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
673
 
          test -z "$$report" || echo "$${col}$$report$${std}"; \
674
 
          echo "$${col}$$dashes$${std}"; \
675
 
          test "$$failed" -eq 0; \
676
 
        else :; fi
 
885
          test $$st -eq 0 || exit 1; \
 
886
        fi
 
887
        @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
 
888
        ws='[   ]'; \
 
889
        results=`for b in $$bases; do echo $$b.trs; done`; \
 
890
        test -n "$$results" || results=/dev/null; \
 
891
        all=`  grep "^$$ws*:test-result:"           $$results | wc -l`; \
 
892
        pass=` grep "^$$ws*:test-result:$$ws*PASS"  $$results | wc -l`; \
 
893
        fail=` grep "^$$ws*:test-result:$$ws*FAIL"  $$results | wc -l`; \
 
894
        skip=` grep "^$$ws*:test-result:$$ws*SKIP"  $$results | wc -l`; \
 
895
        xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
 
896
        xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
 
897
        error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
 
898
        if test `expr $$fail + $$xpass + $$error` -eq 0; then \
 
899
          success=true; \
 
900
        else \
 
901
          success=false; \
 
902
        fi; \
 
903
        br='==================='; br=$$br$$br$$br$$br; \
 
904
        result_count () \
 
905
        { \
 
906
            if test x"$$1" = x"--maybe-color"; then \
 
907
              maybe_colorize=yes; \
 
908
            elif test x"$$1" = x"--no-color"; then \
 
909
              maybe_colorize=no; \
 
910
            else \
 
911
              echo "$@: invalid 'result_count' usage" >&2; exit 4; \
 
912
            fi; \
 
913
            shift; \
 
914
            desc=$$1 count=$$2; \
 
915
            if test $$maybe_colorize = yes && test $$count -gt 0; then \
 
916
              color_start=$$3 color_end=$$std; \
 
917
            else \
 
918
              color_start= color_end=; \
 
919
            fi; \
 
920
            echo "$${color_start}# $$desc $$count$${color_end}"; \
 
921
        }; \
 
922
        create_testsuite_report () \
 
923
        { \
 
924
          result_count $$1 "TOTAL:" $$all   "$$brg"; \
 
925
          result_count $$1 "PASS: " $$pass  "$$grn"; \
 
926
          result_count $$1 "SKIP: " $$skip  "$$blu"; \
 
927
          result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
 
928
          result_count $$1 "FAIL: " $$fail  "$$red"; \
 
929
          result_count $$1 "XPASS:" $$xpass "$$red"; \
 
930
          result_count $$1 "ERROR:" $$error "$$mgn"; \
 
931
        }; \
 
932
        {                                                               \
 
933
          echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |       \
 
934
            $(am__rst_title);                                           \
 
935
          create_testsuite_report --no-color;                           \
 
936
          echo;                                                         \
 
937
          echo ".. contents:: :depth: 2";                               \
 
938
          echo;                                                         \
 
939
          for b in $$bases; do echo $$b; done                           \
 
940
            | $(am__create_global_log);                                 \
 
941
        } >$(TEST_SUITE_LOG).tmp || exit 1;                             \
 
942
        mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);                     \
 
943
        if $$success; then                                              \
 
944
          col="$$grn";                                                  \
 
945
         else                                                           \
 
946
          col="$$red";                                                  \
 
947
          test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);               \
 
948
        fi;                                                             \
 
949
        echo "$${col}$$br$${std}";                                      \
 
950
        echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}";   \
 
951
        echo "$${col}$$br$${std}";                                      \
 
952
        create_testsuite_report --maybe-color;                          \
 
953
        echo "$$col$$br$$std";                                          \
 
954
        if $$success; then :; else                                      \
 
955
          echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}";         \
 
956
          if test -n "$(PACKAGE_BUGREPORT)"; then                       \
 
957
            echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
 
958
          fi;                                                           \
 
959
          echo "$$col$$br$$std";                                        \
 
960
        fi;                                                             \
 
961
        $$success || exit 1
 
962
 
 
963
check-TESTS:
 
964
        @list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
 
965
        @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
 
966
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
 
967
        @set +e; $(am__set_TESTS_bases); \
 
968
        log_list=`for i in $$bases; do echo $$i.log; done`; \
 
969
        trs_list=`for i in $$bases; do echo $$i.trs; done`; \
 
970
        log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
 
971
        $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
 
972
        exit $$?;
 
973
recheck: all $(check_LTLIBRARIES) $(check_PROGRAMS) $(check_DATA)
 
974
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
 
975
        @set +e; $(am__set_TESTS_bases); \
 
976
        bases=`for i in $$bases; do echo $$i; done \
 
977
                 | $(am__list_recheck_tests)` || exit 1; \
 
978
        log_list=`for i in $$bases; do echo $$i.log; done`; \
 
979
        log_list=`echo $$log_list`; \
 
980
        $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
 
981
                am__force_recheck=am--force-recheck \
 
982
                TEST_LOGS="$$log_list"; \
 
983
        exit $$?
 
984
test-connect.log: test-connect$(EXEEXT)
 
985
        @p='test-connect$(EXEEXT)'; \
 
986
        b='test-connect'; \
 
987
        $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
 
988
        --log-file $$b.log --trs-file $$b.trs \
 
989
        $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
 
990
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
991
test-file.log: test-file$(EXEEXT)
 
992
        @p='test-file$(EXEEXT)'; \
 
993
        b='test-file'; \
 
994
        $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
 
995
        --log-file $$b.log --trs-file $$b.trs \
 
996
        $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
 
997
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
998
test-gzip.log: test-gzip$(EXEEXT)
 
999
        @p='test-gzip$(EXEEXT)'; \
 
1000
        b='test-gzip'; \
 
1001
        $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
 
1002
        --log-file $$b.log --trs-file $$b.trs \
 
1003
        $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
 
1004
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
1005
test-xz.log: test-xz$(EXEEXT)
 
1006
        @p='test-xz$(EXEEXT)'; \
 
1007
        b='test-xz'; \
 
1008
        $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
 
1009
        --log-file $$b.log --trs-file $$b.trs \
 
1010
        $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
 
1011
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
1012
.test.log:
 
1013
        @p='$<'; \
 
1014
        $(am__set_b); \
 
1015
        $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
 
1016
        --log-file $$b.log --trs-file $$b.trs \
 
1017
        $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
 
1018
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
1019
@am__EXEEXT_TRUE@.test$(EXEEXT).log:
 
1020
@am__EXEEXT_TRUE@       @p='$<'; \
 
1021
@am__EXEEXT_TRUE@       $(am__set_b); \
 
1022
@am__EXEEXT_TRUE@       $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
 
1023
@am__EXEEXT_TRUE@       --log-file $$b.log --trs-file $$b.trs \
 
1024
@am__EXEEXT_TRUE@       $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
 
1025
@am__EXEEXT_TRUE@       "$$tst" $(AM_TESTS_FD_REDIRECT)
677
1026
 
678
1027
distdir: $(DISTFILES)
679
1028
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
706
1055
          fi; \
707
1056
        done
708
1057
check-am: all-am
709
 
        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
 
1058
        $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS) \
 
1059
          $(check_DATA)
710
1060
        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
711
1061
check: check-am
712
 
all-am: Makefile $(LTLIBRARIES) $(DATA)
 
1062
all-am: Makefile
713
1063
installdirs:
714
1064
install: install-am
715
1065
install-exec: install-exec-am
731
1081
            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
732
1082
        fi
733
1083
mostlyclean-generic:
 
1084
        -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
 
1085
        -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
 
1086
        -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
734
1087
 
735
1088
clean-generic:
736
1089
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
745
1098
        -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
746
1099
clean: clean-am
747
1100
 
748
 
clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
749
 
        clean-noinstLTLIBRARIES mostlyclean-am
 
1101
clean-am: clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \
 
1102
        clean-libtool mostlyclean-am
750
1103
 
751
1104
distclean: distclean-am
752
1105
        -rm -rf ./$(DEPDIR)
816
1169
 
817
1170
.MAKE: check-am install-am install-strip
818
1171
 
819
 
.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
820
 
        clean-checkPROGRAMS clean-generic clean-libtool \
821
 
        clean-noinstLTLIBRARIES cscopelist ctags distclean \
 
1172
.PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \
 
1173
        clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \
 
1174
        clean-libtool cscopelist-am ctags ctags-am distclean \
822
1175
        distclean-compile distclean-generic distclean-libtool \
823
1176
        distclean-tags distdir dvi dvi-am html html-am info info-am \
824
1177
        install install-am install-data install-data-am install-dvi \
828
1181
        install-strip installcheck installcheck-am installdirs \
829
1182
        maintainer-clean maintainer-clean-generic mostlyclean \
830
1183
        mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
831
 
        pdf pdf-am ps ps-am tags uninstall uninstall-am
 
1184
        pdf pdf-am ps ps-am recheck tags tags-am uninstall \
 
1185
        uninstall-am
832
1186
 
833
1187
 
834
1188
@HAVE_LIBGUESTFS_TRUE@file-data: