~ubuntu-branches/ubuntu/utopic/gnome-do/utopic-proposed

« back to all changes in this revision

Viewing changes to Tests/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Christopher James Halse Rogers, Iain Lane, Christopher James Halse Rogers
  • Date: 2014-07-11 16:20:37 UTC
  • mfrom: (0.1.14)
  • Revision ID: package-import@ubuntu.com-20140711162037-08ncoy0ur0046i8e
Tags: 0.95.1-1
[ Iain Lane ]
* Build-depend directly on nunit instead of relying on indirect
* Build-depend on dbus-sharp instead of obsolete ndesk-dbus

[ Christopher James Halse Rogers ]
* Import new upstream 0.95 release (Closes: 713094, 708038)
* Transition to DBus# 2.0
* Simplify gnome-do launcher script (Closes: 650368)
* Version build-dependency on mono-cario; uses methods new in 3.2
* Add new GIO# and GKeyfile# build-depends
* Bump Standards-Version to 3.9.5, updating debian/copyright for
  machine-readable v1.0
* Import new upstream 0.95.1 release
* Drop versioned depends on Mono.Cairo; 0.95.1 builds against Mono < 3.2

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.1 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@
35
79
host_triplet = @host@
36
80
@ENABLE_DEBUG_TRUE@am__append_1 = -d:DEBUG -debug
37
81
subdir = Tests
38
 
DIST_COMMON = $(srcdir)/AssemblyInfo.cs.in $(srcdir)/Makefile.am \
39
 
        $(srcdir)/Makefile.in
 
82
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
 
83
        $(srcdir)/AssemblyInfo.cs.in $(top_srcdir)/test-driver
40
84
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41
85
am__aclocal_m4_deps = $(top_srcdir)/m4/shamrock/expansions.m4 \
42
86
        $(top_srcdir)/m4/shamrock/i18n.m4 \
43
87
        $(top_srcdir)/m4/shamrock/mono.m4 \
44
88
        $(top_srcdir)/m4/shamrock/programs.m4 \
 
89
        $(top_srcdir)/m4/intltool.m4 $(top_srcdir)/m4/libtool.m4 \
 
90
        $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
 
91
        $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
45
92
        $(top_srcdir)/configure.ac
46
93
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
47
94
        $(ACLOCAL_M4)
48
95
mkinstalldirs = $(install_sh) -d
49
96
CONFIG_CLEAN_FILES = AssemblyInfo.cs
50
97
CONFIG_CLEAN_VPATH_FILES =
 
98
AM_V_P = $(am__v_P_@AM_V@)
 
99
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
 
100
am__v_P_0 = false
 
101
am__v_P_1 = :
 
102
AM_V_GEN = $(am__v_GEN_@AM_V@)
 
103
am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
 
104
am__v_GEN_0 = @echo "  GEN     " $@;
 
105
am__v_GEN_1 = 
 
106
AM_V_at = $(am__v_at_@AM_V@)
 
107
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
 
108
am__v_at_0 = @
 
109
am__v_at_1 = 
51
110
SOURCES =
52
111
DIST_SOURCES =
53
 
am__tty_colors = \
54
 
red=; grn=; lgn=; blu=; std=
 
112
am__can_run_installinfo = \
 
113
  case $$AM_UPDATE_INFO_DIR in \
 
114
    n|no|NO) false;; \
 
115
    *) (install-info --version) >/dev/null 2>&1;; \
 
116
  esac
 
117
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
 
118
am__tty_colors_dummy = \
 
119
  mgn= red= grn= lgn= blu= brg= std=; \
 
120
  am__color_tests=no
 
121
am__tty_colors = { \
 
122
  $(am__tty_colors_dummy); \
 
123
  if test "X$(AM_COLOR_TESTS)" = Xno; then \
 
124
    am__color_tests=no; \
 
125
  elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
 
126
    am__color_tests=yes; \
 
127
  elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
 
128
    am__color_tests=yes; \
 
129
  fi; \
 
130
  if test $$am__color_tests = yes; then \
 
131
    red=''; \
 
132
    grn=''; \
 
133
    lgn=''; \
 
134
    blu=''; \
 
135
    mgn=''; \
 
136
    brg=''; \
 
137
    std=''; \
 
138
  fi; \
 
139
}
 
140
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
 
141
am__vpath_adj = case $$p in \
 
142
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
 
143
    *) f=$$p;; \
 
144
  esac;
 
145
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
 
146
am__install_max = 40
 
147
am__nobase_strip_setup = \
 
148
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
 
149
am__nobase_strip = \
 
150
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
 
151
am__nobase_list = $(am__nobase_strip_setup); \
 
152
  for p in $$list; do echo "$$p $$p"; done | \
 
153
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
 
154
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
 
155
    if (++n[$$2] == $(am__install_max)) \
 
156
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
 
157
    END { for (dir in files) print dir, files[dir] }'
 
158
am__base_list = \
 
159
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
 
160
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
 
161
am__uninstall_files_from_dir = { \
 
162
  test -z "$$files" \
 
163
    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
 
164
    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
 
165
         $(am__cd) "$$dir" && rm -f $$files; }; \
 
166
  }
 
167
am__recheck_rx = ^[     ]*:recheck:[    ]*
 
168
am__global_test_result_rx = ^[  ]*:global-test-result:[         ]*
 
169
am__copy_in_global_log_rx = ^[  ]*:copy-in-global-log:[         ]*
 
170
# A command that, given a newline-separated list of test names on the
 
171
# standard input, print the name of the tests that are to be re-run
 
172
# upon "make recheck".
 
173
am__list_recheck_tests = $(AWK) '{ \
 
174
  recheck = 1; \
 
175
  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
 
176
    { \
 
177
      if (rc < 0) \
 
178
        { \
 
179
          if ((getline line2 < ($$0 ".log")) < 0) \
 
180
            recheck = 0; \
 
181
          break; \
 
182
        } \
 
183
      else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
 
184
        { \
 
185
          recheck = 0; \
 
186
          break; \
 
187
        } \
 
188
      else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
 
189
        { \
 
190
          break; \
 
191
        } \
 
192
    }; \
 
193
  if (recheck) \
 
194
    print $$0; \
 
195
  close ($$0 ".trs"); \
 
196
  close ($$0 ".log"); \
 
197
}'
 
198
# A command that, given a newline-separated list of test names on the
 
199
# standard input, create the global log from their .trs and .log files.
 
200
am__create_global_log = $(AWK) ' \
 
201
function fatal(msg) \
 
202
{ \
 
203
  print "fatal: making $@: " msg | "cat >&2"; \
 
204
  exit 1; \
 
205
} \
 
206
function rst_section(header) \
 
207
{ \
 
208
  print header; \
 
209
  len = length(header); \
 
210
  for (i = 1; i <= len; i = i + 1) \
 
211
    printf "="; \
 
212
  printf "\n\n"; \
 
213
} \
 
214
{ \
 
215
  copy_in_global_log = 1; \
 
216
  global_test_result = "RUN"; \
 
217
  while ((rc = (getline line < ($$0 ".trs"))) != 0) \
 
218
    { \
 
219
      if (rc < 0) \
 
220
         fatal("failed to read from " $$0 ".trs"); \
 
221
      if (line ~ /$(am__global_test_result_rx)/) \
 
222
        { \
 
223
          sub("$(am__global_test_result_rx)", "", line); \
 
224
          sub("[        ]*$$", "", line); \
 
225
          global_test_result = line; \
 
226
        } \
 
227
      else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
 
228
        copy_in_global_log = 0; \
 
229
    }; \
 
230
  if (copy_in_global_log) \
 
231
    { \
 
232
      rst_section(global_test_result ": " $$0); \
 
233
      while ((rc = (getline line < ($$0 ".log"))) != 0) \
 
234
      { \
 
235
        if (rc < 0) \
 
236
          fatal("failed to read from " $$0 ".log"); \
 
237
        print line; \
 
238
      }; \
 
239
      printf "\n"; \
 
240
    }; \
 
241
  close ($$0 ".trs"); \
 
242
  close ($$0 ".log"); \
 
243
}'
 
244
# Restructured Text title.
 
245
am__rst_title = { sed 's/.*/   &   /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
 
246
# Solaris 10 'make', and several other traditional 'make' implementations,
 
247
# pass "-e" to $(SHELL), and POSIX 2008 even requires this.  Work around it
 
248
# by disabling -e (using the XSI extension "set +e") if it's set.
 
249
am__sh_e_setup = case $$- in *e*) set +e;; esac
 
250
# Default flags passed to test drivers.
 
251
am__common_driver_flags = \
 
252
  --color-tests "$$am__color_tests" \
 
253
  --enable-hard-errors "$$am__enable_hard_errors" \
 
254
  --expect-failure "$$am__expect_failure"
 
255
# To be inserted before the command running the test.  Creates the
 
256
# directory for the log if needed.  Stores in $dir the directory
 
257
# containing $f, in $tst the test, in $log the log.  Executes the
 
258
# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
 
259
# passes TESTS_ENVIRONMENT.  Set up options for the wrapper that
 
260
# will run the test scripts (or their associated LOG_COMPILER, if
 
261
# thy have one).
 
262
am__check_pre = \
 
263
$(am__sh_e_setup);                                      \
 
264
$(am__vpath_adj_setup) $(am__vpath_adj)                 \
 
265
$(am__tty_colors);                                      \
 
266
srcdir=$(srcdir); export srcdir;                        \
 
267
case "$@" in                                            \
 
268
  */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;;    \
 
269
    *) am__odir=.;;                                     \
 
270
esac;                                                   \
 
271
test "x$$am__odir" = x"." || test -d "$$am__odir"       \
 
272
  || $(MKDIR_P) "$$am__odir" || exit $$?;               \
 
273
if test -f "./$$f"; then dir=./;                        \
 
274
elif test -f "$$f"; then dir=;                          \
 
275
else dir="$(srcdir)/"; fi;                              \
 
276
tst=$$dir$$f; log='$@';                                 \
 
277
if test -n '$(DISABLE_HARD_ERRORS)'; then               \
 
278
  am__enable_hard_errors=no;                            \
 
279
else                                                    \
 
280
  am__enable_hard_errors=yes;                           \
 
281
fi;                                                     \
 
282
case " $(XFAIL_TESTS) " in                              \
 
283
  *[\ \ ]$$f[\ \        ]* | *[\ \      ]$$dir$$f[\ \   ]*) \
 
284
    am__expect_failure=yes;;                            \
 
285
  *)                                                    \
 
286
    am__expect_failure=no;;                             \
 
287
esac;                                                   \
 
288
$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
 
289
# A shell command to get the names of the tests scripts with any registered
 
290
# extension removed (i.e., equivalently, the names of the test logs, with
 
291
# the '.log' extension removed).  The result is saved in the shell variable
 
292
# '$bases'.  This honors runtime overriding of TESTS and TEST_LOGS.  Sadly,
 
293
# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
 
294
# since that might cause problem with VPATH rewrites for suffix-less tests.
 
295
# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
 
296
am__set_TESTS_bases = \
 
297
  bases='$(TEST_LOGS)'; \
 
298
  bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
 
299
  bases=`echo $$bases`
 
300
RECHECK_LOGS = $(TEST_LOGS)
 
301
AM_RECURSIVE_TARGETS = check recheck
 
302
TEST_SUITE_LOG = test-suite.log
 
303
am__test_logs1 = $(TESTS:=.log)
 
304
am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
 
305
TEST_LOGS = $(am__test_logs2:.dll.log=.log)
 
306
DLL_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
 
307
DLL_LOG_COMPILE = $(DLL_LOG_COMPILER) $(AM_DLL_LOG_FLAGS) \
 
308
        $(DLL_LOG_FLAGS)
 
309
am__set_b = \
 
310
  case '$@' in \
 
311
    */*) \
 
312
      case '$*' in \
 
313
        */*) b='$*';; \
 
314
          *) b=`echo '$@' | sed 's/\.log$$//'`; \
 
315
       esac;; \
 
316
    *) \
 
317
      b='$*';; \
 
318
  esac
55
319
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
56
320
ABI_VERSION = @ABI_VERSION@
57
321
ACLOCAL = @ACLOCAL@
97
361
GCONF_SHARP_20_CFLAGS = @GCONF_SHARP_20_CFLAGS@
98
362
GCONF_SHARP_20_LIBS = @GCONF_SHARP_20_LIBS@
99
363
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
 
364
GIO_SHARP_ASSEMBLIES = @GIO_SHARP_ASSEMBLIES@
 
365
GIO_SHARP_CFLAGS = @GIO_SHARP_CFLAGS@
 
366
GIO_SHARP_LIBS = @GIO_SHARP_LIBS@
 
367
GIO_SHARP_SOURCE_ASSEMBLIES = @GIO_SHARP_SOURCE_ASSEMBLIES@
 
368
GKEYFILE_SHARP_CFLAGS = @GKEYFILE_SHARP_CFLAGS@
 
369
GKEYFILE_SHARP_LIBS = @GKEYFILE_SHARP_LIBS@
100
370
GLADE_SHARP_20_CFLAGS = @GLADE_SHARP_20_CFLAGS@
101
371
GLADE_SHARP_20_LIBS = @GLADE_SHARP_20_LIBS@
102
372
GLIB_SHARP_20_CFLAGS = @GLIB_SHARP_20_CFLAGS@
104
374
GMCS = @GMCS@
105
375
GMOFILES = @GMOFILES@
106
376
GMSGFMT = @GMSGFMT@
107
 
GNOME_DESKTOP_SHARP_20_CFLAGS = @GNOME_DESKTOP_SHARP_20_CFLAGS@
108
 
GNOME_DESKTOP_SHARP_20_LIBS = @GNOME_DESKTOP_SHARP_20_LIBS@
109
377
GNOME_KEYRING_SHARP_CFLAGS = @GNOME_KEYRING_SHARP_CFLAGS@
110
378
GNOME_KEYRING_SHARP_LIBS = @GNOME_KEYRING_SHARP_LIBS@
111
 
GNOME_SHARP_20_CFLAGS = @GNOME_SHARP_20_CFLAGS@
112
 
GNOME_SHARP_20_LIBS = @GNOME_SHARP_20_LIBS@
113
 
GNOME_VFS_SHARP_20_CFLAGS = @GNOME_VFS_SHARP_20_CFLAGS@
114
 
GNOME_VFS_SHARP_20_LIBS = @GNOME_VFS_SHARP_20_LIBS@
115
379
GREP = @GREP@
116
380
GTK_SHARP_20_CFLAGS = @GTK_SHARP_20_CFLAGS@
117
381
GTK_SHARP_20_LIBS = @GTK_SHARP_20_LIBS@
135
399
LIBDO_CFLAGS = @LIBDO_CFLAGS@
136
400
LIBDO_LIBS = @LIBDO_LIBS@
137
401
LIBOBJS = @LIBOBJS@
138
 
LIBRSVG_SHARP_CFLAGS = @LIBRSVG_SHARP_CFLAGS@
139
 
LIBRSVG_SHARP_LIBS = @LIBRSVG_SHARP_LIBS@
140
402
LIBS = @LIBS@
141
403
LIBTOOL = @LIBTOOL@
142
404
LIPO = @LIPO@
190
452
USE_NLS = @USE_NLS@
191
453
VERSION = @VERSION@
192
454
VERSION_INFO = @VERSION_INFO@
193
 
WNCK_SHARP_10_CFLAGS = @WNCK_SHARP_10_CFLAGS@
194
 
WNCK_SHARP_10_LIBS = @WNCK_SHARP_10_LIBS@
195
455
XGETTEXT = @XGETTEXT@
196
456
abs_builddir = @abs_builddir@
197
457
abs_srcdir = @abs_srcdir@
251
511
top_builddir = @top_builddir@
252
512
top_srcdir = @top_srcdir@
253
513
FILES = \
 
514
        TestItemSource.cs \
254
515
        TestLogging.cs \
255
516
        TestKeybindingService.cs \
256
517
        AssemblyInfo.cs
292
553
        $(am__append_1)
293
554
@ENABLE_DEBUG_TRUE@COMPONENT_DEPS_DEBUG = $(foreach ref,$(COMPONENT_DEPS),$(ref).mdb)
294
555
@ENABLE_DEBUG_TRUE@DO_EXE_DEBUG = $(BUILD_DIR)/Do.exe.mdb
295
 
TESTS_ENVIRONMENT = nunit-console
296
556
TESTS = Do.Tests.dll \
297
557
        $(BUILD_DIR)/Do.Platform.dll \
298
558
        $(BUILD_DIR)/Do.Platform.Linux.dll \
299
559
        $(BUILD_DIR)/Do.Interface.Linux.dll
300
560
 
 
561
TEST_EXTENSIONS = .dll
 
562
DLL_LOG_COMPILER = nunit-console
 
563
AM_DLL_LOG_FLAGS = -labels -nodots
301
564
CLEANFILES = $(foreach component, $(COMPONENT_DEPS) $(COMPONENT_DEPS_DEBUG) $(DO_EXE_DEBUG), $(notdir $(component))) Do.exe test-environment Do.Tests.dll Do.Tests.dll.mdb TestResult.xml
302
565
EXTRA_DIST = $(FILES) $(RESOURCES)
303
566
all: all-am
304
567
 
305
568
.SUFFIXES:
 
569
.SUFFIXES: .dll .dll$(EXEEXT) .log .trs
306
570
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
307
571
        @for dep in $?; do \
308
572
          case '$(am__configure_deps)' in \
341
605
 
342
606
clean-libtool:
343
607
        -rm -rf .libs _libs
344
 
tags: TAGS
345
 
TAGS:
346
 
 
347
 
ctags: CTAGS
348
 
CTAGS:
349
 
 
350
 
 
351
 
check-TESTS: $(TESTS)
352
 
        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
353
 
        srcdir=$(srcdir); export srcdir; \
354
 
        list=' $(TESTS) '; \
355
 
        $(am__tty_colors); \
356
 
        if test -n "$$list"; then \
357
 
          for tst in $$list; do \
358
 
            if test -f ./$$tst; then dir=./; \
359
 
            elif test -f $$tst; then dir=; \
360
 
            else dir="$(srcdir)/"; fi; \
361
 
            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
362
 
              all=`expr $$all + 1`; \
363
 
              case " $(XFAIL_TESTS) " in \
364
 
              *[\ \     ]$$tst[\ \      ]*) \
365
 
                xpass=`expr $$xpass + 1`; \
366
 
                failed=`expr $$failed + 1`; \
367
 
                col=$$red; res=XPASS; \
368
 
              ;; \
369
 
              *) \
370
 
                col=$$grn; res=PASS; \
371
 
              ;; \
372
 
              esac; \
373
 
            elif test $$? -ne 77; then \
374
 
              all=`expr $$all + 1`; \
375
 
              case " $(XFAIL_TESTS) " in \
376
 
              *[\ \     ]$$tst[\ \      ]*) \
377
 
                xfail=`expr $$xfail + 1`; \
378
 
                col=$$lgn; res=XFAIL; \
379
 
              ;; \
380
 
              *) \
381
 
                failed=`expr $$failed + 1`; \
382
 
                col=$$red; res=FAIL; \
383
 
              ;; \
384
 
              esac; \
385
 
            else \
386
 
              skip=`expr $$skip + 1`; \
387
 
              col=$$blu; res=SKIP; \
388
 
            fi; \
389
 
            echo "$${col}$$res$${std}: $$tst"; \
 
608
tags TAGS:
 
609
 
 
610
ctags CTAGS:
 
611
 
 
612
cscope cscopelist:
 
613
 
 
614
 
 
615
# Recover from deleted '.trs' file; this should ensure that
 
616
# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
 
617
# both 'foo.log' and 'foo.trs'.  Break the recipe in two subshells
 
618
# to avoid problems with "make -n".
 
619
.log.trs:
 
620
        rm -f $< $@
 
621
        $(MAKE) $(AM_MAKEFLAGS) $<
 
622
 
 
623
# Leading 'am--fnord' is there to ensure the list of targets does not
 
624
# expand to empty, as could happen e.g. with make check TESTS=''.
 
625
am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
 
626
am--force-recheck:
 
627
        @:
 
628
 
 
629
$(TEST_SUITE_LOG): $(TEST_LOGS)
 
630
        @$(am__set_TESTS_bases); \
 
631
        am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
 
632
        redo_bases=`for i in $$bases; do \
 
633
                      am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
 
634
                    done`; \
 
635
        if test -n "$$redo_bases"; then \
 
636
          redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
 
637
          redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
 
638
          if $(am__make_dryrun); then :; else \
 
639
            rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
 
640
          fi; \
 
641
        fi; \
 
642
        if test -n "$$am__remaking_logs"; then \
 
643
          echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
 
644
               "recursion detected" >&2; \
 
645
        else \
 
646
          am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
 
647
        fi; \
 
648
        if $(am__make_dryrun); then :; else \
 
649
          st=0;  \
 
650
          errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
 
651
          for i in $$redo_bases; do \
 
652
            test -f $$i.trs && test -r $$i.trs \
 
653
              || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
 
654
            test -f $$i.log && test -r $$i.log \
 
655
              || { echo "$$errmsg $$i.log" >&2; st=1; }; \
390
656
          done; \
391
 
          if test "$$all" -eq 1; then \
392
 
            tests="test"; \
393
 
            All=""; \
394
 
          else \
395
 
            tests="tests"; \
396
 
            All="All "; \
397
 
          fi; \
398
 
          if test "$$failed" -eq 0; then \
399
 
            if test "$$xfail" -eq 0; then \
400
 
              banner="$$All$$all $$tests passed"; \
401
 
            else \
402
 
              if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
403
 
              banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
404
 
            fi; \
405
 
          else \
406
 
            if test "$$xpass" -eq 0; then \
407
 
              banner="$$failed of $$all $$tests failed"; \
408
 
            else \
409
 
              if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
410
 
              banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
411
 
            fi; \
412
 
          fi; \
413
 
          dashes="$$banner"; \
414
 
          skipped=""; \
415
 
          if test "$$skip" -ne 0; then \
416
 
            if test "$$skip" -eq 1; then \
417
 
              skipped="($$skip test was not run)"; \
418
 
            else \
419
 
              skipped="($$skip tests were not run)"; \
420
 
            fi; \
421
 
            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
422
 
              dashes="$$skipped"; \
423
 
          fi; \
424
 
          report=""; \
425
 
          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
426
 
            report="Please report to $(PACKAGE_BUGREPORT)"; \
427
 
            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
428
 
              dashes="$$report"; \
429
 
          fi; \
430
 
          dashes=`echo "$$dashes" | sed s/./=/g`; \
431
 
          if test "$$failed" -eq 0; then \
432
 
            col="$$grn"; \
433
 
          else \
434
 
            col="$$red"; \
435
 
          fi; \
436
 
          echo "$${col}$$dashes$${std}"; \
437
 
          echo "$${col}$$banner$${std}"; \
438
 
          test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
439
 
          test -z "$$report" || echo "$${col}$$report$${std}"; \
440
 
          echo "$${col}$$dashes$${std}"; \
441
 
          test "$$failed" -eq 0; \
442
 
        else :; fi
 
657
          test $$st -eq 0 || exit 1; \
 
658
        fi
 
659
        @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
 
660
        ws='[   ]'; \
 
661
        results=`for b in $$bases; do echo $$b.trs; done`; \
 
662
        test -n "$$results" || results=/dev/null; \
 
663
        all=`  grep "^$$ws*:test-result:"           $$results | wc -l`; \
 
664
        pass=` grep "^$$ws*:test-result:$$ws*PASS"  $$results | wc -l`; \
 
665
        fail=` grep "^$$ws*:test-result:$$ws*FAIL"  $$results | wc -l`; \
 
666
        skip=` grep "^$$ws*:test-result:$$ws*SKIP"  $$results | wc -l`; \
 
667
        xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
 
668
        xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
 
669
        error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
 
670
        if test `expr $$fail + $$xpass + $$error` -eq 0; then \
 
671
          success=true; \
 
672
        else \
 
673
          success=false; \
 
674
        fi; \
 
675
        br='==================='; br=$$br$$br$$br$$br; \
 
676
        result_count () \
 
677
        { \
 
678
            if test x"$$1" = x"--maybe-color"; then \
 
679
              maybe_colorize=yes; \
 
680
            elif test x"$$1" = x"--no-color"; then \
 
681
              maybe_colorize=no; \
 
682
            else \
 
683
              echo "$@: invalid 'result_count' usage" >&2; exit 4; \
 
684
            fi; \
 
685
            shift; \
 
686
            desc=$$1 count=$$2; \
 
687
            if test $$maybe_colorize = yes && test $$count -gt 0; then \
 
688
              color_start=$$3 color_end=$$std; \
 
689
            else \
 
690
              color_start= color_end=; \
 
691
            fi; \
 
692
            echo "$${color_start}# $$desc $$count$${color_end}"; \
 
693
        }; \
 
694
        create_testsuite_report () \
 
695
        { \
 
696
          result_count $$1 "TOTAL:" $$all   "$$brg"; \
 
697
          result_count $$1 "PASS: " $$pass  "$$grn"; \
 
698
          result_count $$1 "SKIP: " $$skip  "$$blu"; \
 
699
          result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
 
700
          result_count $$1 "FAIL: " $$fail  "$$red"; \
 
701
          result_count $$1 "XPASS:" $$xpass "$$red"; \
 
702
          result_count $$1 "ERROR:" $$error "$$mgn"; \
 
703
        }; \
 
704
        {                                                               \
 
705
          echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" |       \
 
706
            $(am__rst_title);                                           \
 
707
          create_testsuite_report --no-color;                           \
 
708
          echo;                                                         \
 
709
          echo ".. contents:: :depth: 2";                               \
 
710
          echo;                                                         \
 
711
          for b in $$bases; do echo $$b; done                           \
 
712
            | $(am__create_global_log);                                 \
 
713
        } >$(TEST_SUITE_LOG).tmp || exit 1;                             \
 
714
        mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG);                     \
 
715
        if $$success; then                                              \
 
716
          col="$$grn";                                                  \
 
717
         else                                                           \
 
718
          col="$$red";                                                  \
 
719
          test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG);               \
 
720
        fi;                                                             \
 
721
        echo "$${col}$$br$${std}";                                      \
 
722
        echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}";   \
 
723
        echo "$${col}$$br$${std}";                                      \
 
724
        create_testsuite_report --maybe-color;                          \
 
725
        echo "$$col$$br$$std";                                          \
 
726
        if $$success; then :; else                                      \
 
727
          echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}";         \
 
728
          if test -n "$(PACKAGE_BUGREPORT)"; then                       \
 
729
            echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
 
730
          fi;                                                           \
 
731
          echo "$$col$$br$$std";                                        \
 
732
        fi;                                                             \
 
733
        $$success || exit 1
 
734
 
 
735
check-TESTS:
 
736
        @list='$(RECHECK_LOGS)';           test -z "$$list" || rm -f $$list
 
737
        @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
 
738
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
 
739
        @set +e; $(am__set_TESTS_bases); \
 
740
        log_list=`for i in $$bases; do echo $$i.log; done`; \
 
741
        trs_list=`for i in $$bases; do echo $$i.trs; done`; \
 
742
        log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
 
743
        $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
 
744
        exit $$?;
 
745
recheck: all 
 
746
        @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
 
747
        @set +e; $(am__set_TESTS_bases); \
 
748
        bases=`for i in $$bases; do echo $$i; done \
 
749
                 | $(am__list_recheck_tests)` || exit 1; \
 
750
        log_list=`for i in $$bases; do echo $$i.log; done`; \
 
751
        log_list=`echo $$log_list`; \
 
752
        $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
 
753
                am__force_recheck=am--force-recheck \
 
754
                TEST_LOGS="$$log_list"; \
 
755
        exit $$?
 
756
.dll.log:
 
757
        @p='$<'; \
 
758
        $(am__set_b); \
 
759
        $(am__check_pre) $(DLL_LOG_DRIVER) --test-name "$$f" \
 
760
        --log-file $$b.log --trs-file $$b.trs \
 
761
        $(am__common_driver_flags) $(AM_DLL_LOG_DRIVER_FLAGS) $(DLL_LOG_DRIVER_FLAGS) -- $(DLL_LOG_COMPILE) \
 
762
        "$$tst" $(AM_TESTS_FD_REDIRECT)
 
763
@am__EXEEXT_TRUE@.dll$(EXEEXT).log:
 
764
@am__EXEEXT_TRUE@       @p='$<'; \
 
765
@am__EXEEXT_TRUE@       $(am__set_b); \
 
766
@am__EXEEXT_TRUE@       $(am__check_pre) $(DLL_LOG_DRIVER) --test-name "$$f" \
 
767
@am__EXEEXT_TRUE@       --log-file $$b.log --trs-file $$b.trs \
 
768
@am__EXEEXT_TRUE@       $(am__common_driver_flags) $(AM_DLL_LOG_DRIVER_FLAGS) $(DLL_LOG_DRIVER_FLAGS) -- $(DLL_LOG_COMPILE) \
 
769
@am__EXEEXT_TRUE@       "$$tst" $(AM_TESTS_FD_REDIRECT)
443
770
 
444
771
distdir: $(DISTFILES)
445
772
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
496
823
            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
497
824
        fi
498
825
mostlyclean-generic:
 
826
        -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
 
827
        -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
 
828
        -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
499
829
 
500
830
clean-generic:
501
831
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
576
906
.MAKE: check-am install-am install-strip
577
907
 
578
908
.PHONY: all all-am check check-TESTS check-am clean clean-generic \
579
 
        clean-libtool distclean distclean-generic distclean-libtool \
580
 
        distdir dvi dvi-am html html-am info info-am install \
581
 
        install-am install-data install-data-am install-dvi \
582
 
        install-dvi-am install-exec install-exec-am install-html \
583
 
        install-html-am install-info install-info-am install-man \
584
 
        install-pdf install-pdf-am install-ps install-ps-am \
585
 
        install-strip installcheck installcheck-am installdirs \
586
 
        maintainer-clean maintainer-clean-generic mostlyclean \
587
 
        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
 
909
        clean-libtool cscopelist-am ctags-am distclean \
 
910
        distclean-generic distclean-libtool distdir dvi dvi-am html \
 
911
        html-am info info-am install install-am install-data \
 
912
        install-data-am install-dvi install-dvi-am install-exec \
 
913
        install-exec-am install-html install-html-am install-info \
 
914
        install-info-am install-man install-pdf install-pdf-am \
 
915
        install-ps install-ps-am install-strip installcheck \
 
916
        installcheck-am installdirs maintainer-clean \
 
917
        maintainer-clean-generic mostlyclean mostlyclean-generic \
 
918
        mostlyclean-libtool pdf pdf-am ps ps-am recheck tags-am \
588
919
        uninstall uninstall-am
589
920
 
590
921