Skip to content

Commit f8ebe3b

Browse files
committed
Support "make check" in contrib
Added a new option --extra-install to pg_regress to arrange installing the respective contrib directory into the temporary installation. This is currently not yet supported for Windows MSVC builds. Updated the .gitignore files for contrib modules to ignore the leftovers of a temp-install check run. Changed the exit status of "make check" in a pgxs build (which still does nothing) to 0 from 1. Added "make check" in contrib to top-level "make check-world".
1 parent 625744a commit f8ebe3b

File tree

24 files changed

+74
-8
lines changed

24 files changed

+74
-8
lines changed

GNUmakefile.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ check: all
6060
check installcheck installcheck-parallel:
6161
$(MAKE) -C src/test $@
6262

63-
# TODO: add contrib
64-
$(call recurse,check-world,src/test src/pl src/interfaces/ecpg,check)
63+
$(call recurse,check-world,src/test src/pl src/interfaces/ecpg contrib,check)
6564

6665
$(call recurse,installcheck-world,src/test src/pl src/interfaces/ecpg contrib,installcheck)
6766

contrib/btree_gin/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# Generated subdirectories
2+
/log/
23
/results/
4+
/tmp_check/

contrib/btree_gist/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# Generated subdirectories
2+
/log/
23
/results/
4+
/tmp_check/

contrib/citext/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# Generated subdirectories
2+
/log/
23
/results/
4+
/tmp_check/

contrib/cube/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/cubeparse.c
22
/cubescan.c
33
# Generated subdirectories
4+
/log/
45
/results/
6+
/tmp_check/

contrib/dblink/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# Generated subdirectories
2+
/log/
23
/results/
4+
/tmp_check/

contrib/dict_int/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# Generated subdirectories
2+
/log/
23
/results/
4+
/tmp_check/

contrib/dict_xsyn/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# Generated subdirectories
2+
/log/
23
/results/
4+
/tmp_check/

contrib/earthdistance/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# Generated subdirectories
2+
/log/
23
/results/
4+
/tmp_check/

contrib/earthdistance/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ EXTENSION = earthdistance
66
DATA = earthdistance--1.0.sql earthdistance--unpackaged--1.0.sql
77

88
REGRESS = earthdistance
9+
REGRESS_OPTS = --extra-install=contrib/cube
910

1011
LDFLAGS_SL += $(filter -lm, $(LIBS))
1112

0 commit comments

Comments
 (0)