52
51
CONFIG_CLEAN_VPATH_FILES =
53
52
am_test_main_OBJECTS = test-main.$(OBJEXT)
54
53
test_main_OBJECTS = $(am_test_main_OBJECTS)
55
test_main_DEPENDENCIES = ../src/libsqlite3cc.la
54
test_main_LDADD = $(LDADD)
56
55
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
57
56
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
58
57
am__depfiles_maybe = depfiles
327
322
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
329
check-TESTS: $(TESTS)
330
@failed=0; all=0; xfail=0; xpass=0; skip=0; \
331
srcdir=$(srcdir); export srcdir; \
334
if test -n "$$list"; then \
335
for tst in $$list; do \
336
if test -f ./$$tst; then dir=./; \
337
elif test -f $$tst; then dir=; \
338
else dir="$(srcdir)/"; fi; \
339
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
340
all=`expr $$all + 1`; \
341
case " $(XFAIL_TESTS) " in \
342
*[\ \ ]$$tst[\ \ ]*) \
343
xpass=`expr $$xpass + 1`; \
344
failed=`expr $$failed + 1`; \
345
col=$$red; res=XPASS; \
348
col=$$grn; res=PASS; \
351
elif test $$? -ne 77; then \
352
all=`expr $$all + 1`; \
353
case " $(XFAIL_TESTS) " in \
354
*[\ \ ]$$tst[\ \ ]*) \
355
xfail=`expr $$xfail + 1`; \
356
col=$$lgn; res=XFAIL; \
359
failed=`expr $$failed + 1`; \
360
col=$$red; res=FAIL; \
364
skip=`expr $$skip + 1`; \
365
col=$$blu; res=SKIP; \
367
echo "$${col}$$res$${std}: $$tst"; \
369
if test "$$all" -eq 1; then \
376
if test "$$failed" -eq 0; then \
377
if test "$$xfail" -eq 0; then \
378
banner="$$All$$all $$tests passed"; \
380
if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
381
banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
384
if test "$$xpass" -eq 0; then \
385
banner="$$failed of $$all $$tests failed"; \
387
if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
388
banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
393
if test "$$skip" -ne 0; then \
394
if test "$$skip" -eq 1; then \
395
skipped="($$skip test was not run)"; \
397
skipped="($$skip tests were not run)"; \
399
test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
400
dashes="$$skipped"; \
403
if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
404
report="Please report to $(PACKAGE_BUGREPORT)"; \
405
test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
408
dashes=`echo "$$dashes" | sed s/./=/g`; \
409
if test "$$failed" -eq 0; then \
410
echo "$$grn$$dashes"; \
412
echo "$$red$$dashes"; \
415
test -z "$$skipped" || echo "$$skipped"; \
416
test -z "$$report" || echo "$$report"; \
417
echo "$$dashes$$std"; \
418
test "$$failed" -eq 0; \
421
324
distdir: $(DISTFILES)
422
325
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
423
326
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
553
455
.MAKE: check-am install-am install-strip
555
.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
457
.PHONY: CTAGS GTAGS all all-am check check-am clean \
556
458
clean-checkPROGRAMS clean-generic clean-libtool ctags \
557
459
distclean distclean-compile distclean-generic \
558
460
distclean-libtool distclean-tags distdir dvi dvi-am html \