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
332
322
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
334
check-TESTS: $(TESTS)
335
@failed=0; all=0; xfail=0; xpass=0; skip=0; \
336
srcdir=$(srcdir); export srcdir; \
339
if test -n "$$list"; then \
340
for tst in $$list; do \
341
if test -f ./$$tst; then dir=./; \
342
elif test -f $$tst; then dir=; \
343
else dir="$(srcdir)/"; fi; \
344
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
345
all=`expr $$all + 1`; \
346
case " $(XFAIL_TESTS) " in \
347
*[\ \ ]$$tst[\ \ ]*) \
348
xpass=`expr $$xpass + 1`; \
349
failed=`expr $$failed + 1`; \
350
col=$$red; res=XPASS; \
353
col=$$grn; res=PASS; \
356
elif test $$? -ne 77; then \
357
all=`expr $$all + 1`; \
358
case " $(XFAIL_TESTS) " in \
359
*[\ \ ]$$tst[\ \ ]*) \
360
xfail=`expr $$xfail + 1`; \
361
col=$$lgn; res=XFAIL; \
364
failed=`expr $$failed + 1`; \
365
col=$$red; res=FAIL; \
369
skip=`expr $$skip + 1`; \
370
col=$$blu; res=SKIP; \
372
echo "$${col}$$res$${std}: $$tst"; \
374
if test "$$all" -eq 1; then \
381
if test "$$failed" -eq 0; then \
382
if test "$$xfail" -eq 0; then \
383
banner="$$All$$all $$tests passed"; \
385
if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
386
banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
389
if test "$$xpass" -eq 0; then \
390
banner="$$failed of $$all $$tests failed"; \
392
if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
393
banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
398
if test "$$skip" -ne 0; then \
399
if test "$$skip" -eq 1; then \
400
skipped="($$skip test was not run)"; \
402
skipped="($$skip tests were not run)"; \
404
test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
405
dashes="$$skipped"; \
408
if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
409
report="Please report to $(PACKAGE_BUGREPORT)"; \
410
test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
413
dashes=`echo "$$dashes" | sed s/./=/g`; \
414
if test "$$failed" -eq 0; then \
415
echo "$$grn$$dashes"; \
417
echo "$$red$$dashes"; \
420
test -z "$$skipped" || echo "$$skipped"; \
421
test -z "$$report" || echo "$$report"; \
422
echo "$$dashes$$std"; \
423
test "$$failed" -eq 0; \
426
324
distdir: $(DISTFILES)
427
325
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
428
326
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
558
455
.MAKE: check-am install-am install-strip
560
.PHONY: CTAGS GTAGS all all-am check check-TESTS check-am clean \
457
.PHONY: CTAGS GTAGS all all-am check check-am clean \
561
458
clean-checkPROGRAMS clean-generic clean-libtool ctags \
562
459
distclean distclean-compile distclean-generic \
563
460
distclean-libtool distclean-tags distdir dvi dvi-am html \