postgresql/contrib/Makefile
Tom Lane f6a1a8e254 In 'make installcheck' for contrib/, insert 'sleep 1' between subdirectory
checks, to ensure the previous test backend has time to quit out of the
regression database.  Also, allow all the checks to be run even if one
of them fails.  Per suggestions from Andrew Dunstan to improve the
usefulness of buildfarm testing.
2004-12-14 22:50:23 +00:00

74 lines
1.6 KiB
Makefile

# $PostgreSQL: pgsql/contrib/Makefile,v 1.53 2004/12/14 22:50:23 tgl Exp $
subdir = contrib
top_builddir = ..
include $(top_builddir)/src/Makefile.global
WANTED_DIRS = \
btree_gist \
chkpass \
cube \
dbase \
dblink \
dbmirror \
dbsize \
earthdistance \
findoidjoins \
fulltextindex \
fuzzystrmatch \
intagg \
intarray \
isbn_issn \
lo \
ltree \
miscutil \
mysql \
noupdate \
oid2name \
pg_autovacuum \
pg_dumplo \
pg_trgm \
pgbench \
pgcrypto \
pgstattuple \
rtree_gist \
seg \
spi \
string \
tablefunc \
tips \
tsearch \
tsearch2 \
userlock \
vacuumlo
# Missing:
# adddepend \ (does not have a makefile)
# array \ (removed all but the README)
# ipc_check \ (does not have a makefile)
# mSQL-interface \ (requires msql installed)
# mac \ (does not have a makefile)
# oracle \ (does not have a makefile)
# pg_upgrade \ (does not have a makefile)
# reindexdb \ (does not have a makefile)
# start-scripts \ (does not have a makefile)
# tools \ (does not have a makefile)
# xml \ (non-standard makefile)
# xml2 \ (non-standard makefile)
all install installdirs uninstall clean distclean maintainer-clean:
@for dir in $(WANTED_DIRS); do \
$(MAKE) -C $$dir $@ || exit; \
done
# We'd like check operations to run all the subtests before failing;
# also insert a sleep to ensure the previous test backend exited before
# we try to drop the regression database.
check installcheck:
@CHECKERR=0; for dir in $(WANTED_DIRS); do \
sleep 1; \
$(MAKE) -C $$dir $@ || CHECKERR=$$?; \
done; \
exit $$CHECKERR