/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to test/Makefile.in

  • Committer: edam
  • Date: 2012-01-23 14:34:45 UTC
  • Revision ID: edam@waxworlds.org-20120123143445-s2v4v90nycmfm6bv
fixed up tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.11 from Makefile.am.
 
1
# Makefile.in generated by automake 1.11.1 from Makefile.am.
2
2
# @configure_input@
3
3
 
4
4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
36
36
build_triplet = @build@
37
37
host_triplet = @host@
38
38
check_PROGRAMS = test-main$(EXEEXT)
 
39
TESTS = test-main$(EXEEXT)
39
40
subdir = test
40
41
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41
42
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
51
52
CONFIG_CLEAN_VPATH_FILES =
52
53
am_test_main_OBJECTS = test-main.$(OBJEXT)
53
54
test_main_OBJECTS = $(am_test_main_OBJECTS)
54
 
test_main_DEPENDENCIES =
 
55
test_main_DEPENDENCIES = ../src/libsqlite3cc.la
55
56
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
56
57
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
57
58
am__depfiles_maybe = depfiles
69
70
DIST_SOURCES = $(test_main_SOURCES)
70
71
ETAGS = etags
71
72
CTAGS = ctags
 
73
am__tty_colors = \
 
74
red=; grn=; lgn=; blu=; std=
72
75
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
73
76
ACLOCAL = @ACLOCAL@
74
77
AMTAR = @AMTAR@
81
84
CCDEPMODE = @CCDEPMODE@
82
85
CFLAGS = @CFLAGS@
83
86
CPP = @CPP@
84
 
CPPFLAGS = @CPPFLAGS@
 
87
CPPFLAGS = -I$(top_srcdir)/include
85
88
CXX = @CXX@
86
89
CXXCPP = @CXXCPP@
87
90
CXXDEPMODE = @CXXDEPMODE@
89
92
CYGPATH_W = @CYGPATH_W@
90
93
DEFS = @DEFS@
91
94
DEPDIR = @DEPDIR@
 
95
DLLTOOL = @DLLTOOL@
92
96
DSYMUTIL = @DSYMUTIL@
93
97
DUMPBIN = @DUMPBIN@
94
98
ECHO_C = @ECHO_C@
107
111
LDFLAGS = @LDFLAGS@
108
112
LIBOBJS = @LIBOBJS@
109
113
LIBS = @LIBS@
 
114
LIBSQLITE3CC_INTERFACE = @LIBSQLITE3CC_INTERFACE@
110
115
LIBTOOL = @LIBTOOL@
111
116
LIPO = @LIPO@
112
117
LN_S = @LN_S@
113
118
LTLIBOBJS = @LTLIBOBJS@
114
119
MAKEINFO = @MAKEINFO@
 
120
MANIFEST_TOOL = @MANIFEST_TOOL@
115
121
MKDIR_P = @MKDIR_P@
116
122
NM = @NM@
117
123
NMEDIT = @NMEDIT@
137
143
abs_srcdir = @abs_srcdir@
138
144
abs_top_builddir = @abs_top_builddir@
139
145
abs_top_srcdir = @abs_top_srcdir@
 
146
ac_ct_AR = @ac_ct_AR@
140
147
ac_ct_CC = @ac_ct_CC@
141
148
ac_ct_CXX = @ac_ct_CXX@
142
149
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
170
177
libexecdir = @libexecdir@
171
178
localedir = @localedir@
172
179
localstatedir = @localstatedir@
173
 
lt_ECHO = @lt_ECHO@
174
180
mandir = @mandir@
175
181
mkdir_p = @mkdir_p@
176
182
oldincludedir = @oldincludedir@
186
192
top_build_prefix = @top_build_prefix@
187
193
top_builddir = @top_builddir@
188
194
top_srcdir = @top_srcdir@
189
 
AM_CPPFLAGS = -I$(top_srcdir)/include
190
 
test_main_SOURCES = test-main.cc
191
 
test_main_LDADD = -L$(top_srcdir)/src -lsqlite3cc
 
195
test_main_SOURCES = \
 
196
        test-main.cc
 
197
 
 
198
test_main_LDADD = \
 
199
        ../src/libsqlite3cc.la \
 
200
        -lboost_filesystem-mt \
 
201
        -lboost_system-mt
 
202
 
192
203
all: all-am
193
204
 
194
205
.SUFFIXES:
323
334
distclean-tags:
324
335
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
325
336
 
 
337
check-TESTS: $(TESTS)
 
338
        @failed=0; all=0; xfail=0; xpass=0; skip=0; \
 
339
        srcdir=$(srcdir); export srcdir; \
 
340
        list=' $(TESTS) '; \
 
341
        $(am__tty_colors); \
 
342
        if test -n "$$list"; then \
 
343
          for tst in $$list; do \
 
344
            if test -f ./$$tst; then dir=./; \
 
345
            elif test -f $$tst; then dir=; \
 
346
            else dir="$(srcdir)/"; fi; \
 
347
            if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
 
348
              all=`expr $$all + 1`; \
 
349
              case " $(XFAIL_TESTS) " in \
 
350
              *[\ \     ]$$tst[\ \      ]*) \
 
351
                xpass=`expr $$xpass + 1`; \
 
352
                failed=`expr $$failed + 1`; \
 
353
                col=$$red; res=XPASS; \
 
354
              ;; \
 
355
              *) \
 
356
                col=$$grn; res=PASS; \
 
357
              ;; \
 
358
              esac; \
 
359
            elif test $$? -ne 77; then \
 
360
              all=`expr $$all + 1`; \
 
361
              case " $(XFAIL_TESTS) " in \
 
362
              *[\ \     ]$$tst[\ \      ]*) \
 
363
                xfail=`expr $$xfail + 1`; \
 
364
                col=$$lgn; res=XFAIL; \
 
365
              ;; \
 
366
              *) \
 
367
                failed=`expr $$failed + 1`; \
 
368
                col=$$red; res=FAIL; \
 
369
              ;; \
 
370
              esac; \
 
371
            else \
 
372
              skip=`expr $$skip + 1`; \
 
373
              col=$$blu; res=SKIP; \
 
374
            fi; \
 
375
            echo "$${col}$$res$${std}: $$tst"; \
 
376
          done; \
 
377
          if test "$$all" -eq 1; then \
 
378
            tests="test"; \
 
379
            All=""; \
 
380
          else \
 
381
            tests="tests"; \
 
382
            All="All "; \
 
383
          fi; \
 
384
          if test "$$failed" -eq 0; then \
 
385
            if test "$$xfail" -eq 0; then \
 
386
              banner="$$All$$all $$tests passed"; \
 
387
            else \
 
388
              if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
 
389
              banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
 
390
            fi; \
 
391
          else \
 
392
            if test "$$xpass" -eq 0; then \
 
393
              banner="$$failed of $$all $$tests failed"; \
 
394
            else \
 
395
              if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
 
396
              banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
 
397
            fi; \
 
398
          fi; \
 
399
          dashes="$$banner"; \
 
400
          skipped=""; \
 
401
          if test "$$skip" -ne 0; then \
 
402
            if test "$$skip" -eq 1; then \
 
403
              skipped="($$skip test was not run)"; \
 
404
            else \
 
405
              skipped="($$skip tests were not run)"; \
 
406
            fi; \
 
407
            test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
 
408
              dashes="$$skipped"; \
 
409
          fi; \
 
410
          report=""; \
 
411
          if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
 
412
            report="Please report to $(PACKAGE_BUGREPORT)"; \
 
413
            test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
 
414
              dashes="$$report"; \
 
415
          fi; \
 
416
          dashes=`echo "$$dashes" | sed s/./=/g`; \
 
417
          if test "$$failed" -eq 0; then \
 
418
            echo "$$grn$$dashes"; \
 
419
          else \
 
420
            echo "$$red$$dashes"; \
 
421
          fi; \
 
422
          echo "$$banner"; \
 
423
          test -z "$$skipped" || echo "$$skipped"; \
 
424
          test -z "$$report" || echo "$$report"; \
 
425
          echo "$$dashes$$std"; \
 
426
          test "$$failed" -eq 0; \
 
427
        else :; fi
 
428
 
326
429
distdir: $(DISTFILES)
327
430
        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
328
431
        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
355
458
        done
356
459
check-am: all-am
357
460
        $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
 
461
        $(MAKE) $(AM_MAKEFLAGS) check-TESTS
358
462
check: check-am
359
463
all-am: Makefile
360
464
installdirs:
456
560
 
457
561
.MAKE: check-am install-am install-strip
458
562
 
459
 
.PHONY: CTAGS GTAGS all all-am check check-am clean \
 
563
.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
460
564
        clean-checkPROGRAMS clean-generic clean-libtool ctags \
461
565
        distclean distclean-compile distclean-generic \
462
566
        distclean-libtool distclean-tags distdir dvi dvi-am html \