Fix up .gitignore and cleanup actions in some src/test/ subdirectories.
examples/, locale/, and thread/ lacked .gitignore files and were also not connected up to top-level "make clean" etc. This had escaped notice because none of those directories are built in normal scenarios. Still, they have working Makefiles, so if someone does a "make" in one of these directories it would be good if (a) git doesn't bleat about the product files and (b) cleaning up removes them. This is a longstanding oversight, but since this behavior is probably only of interest to developers, there seems no need for back-patching. Michael Paquier and Tom Lane
This commit is contained in:
parent
70d44dd9de
commit
732b33f8ae
@ -14,9 +14,10 @@ include $(top_builddir)/src/Makefile.global
|
|||||||
|
|
||||||
SUBDIRS = regress isolation modules
|
SUBDIRS = regress isolation modules
|
||||||
|
|
||||||
# The SSL suite is not secure to run on a multi-user system, so don't run
|
# We don't build or execute examples/, locale/, or thread/ by default,
|
||||||
# it as part of global "check" target.
|
# but we do want "make clean" etc to recurse into them. Likewise for ssl/,
|
||||||
ALWAYS_SUBDIRS = ssl
|
# because the SSL test suite is not secure to run on a multi-user system.
|
||||||
|
ALWAYS_SUBDIRS = examples locale thread ssl
|
||||||
|
|
||||||
# We want to recurse to all subdirs for all standard targets, except that
|
# We want to recurse to all subdirs for all standard targets, except that
|
||||||
# installcheck and install should not recurse into the subdirectory "modules".
|
# installcheck and install should not recurse into the subdirectory "modules".
|
||||||
|
6
src/test/examples/.gitignore
vendored
Normal file
6
src/test/examples/.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
/testlibpq
|
||||||
|
/testlibpq2
|
||||||
|
/testlibpq3
|
||||||
|
/testlibpq4
|
||||||
|
/testlo
|
||||||
|
/testlo64
|
@ -18,5 +18,5 @@ PROGS = testlibpq testlibpq2 testlibpq3 testlibpq4 testlo testlo64
|
|||||||
|
|
||||||
all: $(PROGS)
|
all: $(PROGS)
|
||||||
|
|
||||||
clean:
|
clean distclean maintainer-clean:
|
||||||
rm -f $(PROGS)
|
rm -f $(PROGS) *.o
|
||||||
|
1
src/test/locale/.gitignore
vendored
Normal file
1
src/test/locale/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/test-ctype
|
@ -10,8 +10,8 @@ DIRS = de_DE.ISO8859-1 gr_GR.ISO8859-7 koi8-r koi8-to-win1251
|
|||||||
|
|
||||||
all: $(PROGS)
|
all: $(PROGS)
|
||||||
|
|
||||||
clean:
|
clean distclean maintainer-clean:
|
||||||
rm -f $(PROGS)
|
rm -f $(PROGS) *.o
|
||||||
for d in $(DIRS); do \
|
for d in $(DIRS); do \
|
||||||
$(MAKE) -C $$d clean || exit; \
|
$(MAKE) -C $$d clean || exit; \
|
||||||
done
|
done
|
||||||
|
1
src/test/thread/.gitignore
vendored
Normal file
1
src/test/thread/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/thread_test
|
Loading…
x
Reference in New Issue
Block a user