@@ -21,12 +21,12 @@ RELATIVE_INCLUDES = $(addprefix src/, $(INCLUDES))
21
21
22
22
LDFLAGS_SL += $(filter -lm, $(LIBS ) )
23
23
24
- REGRESS = security rum rum_validate rum_hash ruminv timestamp orderby orderby_hash \
25
- altorder altorder_hash limits \
24
+ REGRESS = security rum rum_validate rum_hash ruminv timestamp \
25
+ orderby orderby_hash altorder altorder_hash limits \
26
26
int2 int4 int8 float4 float8 money oid \
27
27
time timetz date interval \
28
28
macaddr inet cidr text varchar char bytea bit varbit \
29
- numeric rum_weight expr
29
+ numeric rum_weight expr array
30
30
31
31
TAP_TESTS = 1
32
32
@@ -66,25 +66,17 @@ endif
66
66
endif
67
67
endif
68
68
69
- ifeq ($(MAJORVERSION ) , 9.6)
70
- # arrays are not supported on 9.6
71
- else
72
- REGRESS += array
73
- endif
74
-
75
- # For 9.6-11 we have to make specific target with tap tests
69
+ # --------------------------------------------------------
70
+ # Make conditional targets to save backward compatibility
71
+ # with PG11, PG10 and PG9.6.
72
+ # --------------------------------------------------------
76
73
ifeq ($(MAJORVERSION ) , $(filter 9.6% 10% 11% , $(MAJORVERSION ) ) )
77
- wal-check : temp-install
78
- $(prove_check )
79
74
80
- check : wal-check
75
+ # arrays are not supported on 9.6
76
+ ifeq ($(MAJORVERSION ) , 9.6)
77
+ REGRESS := $(filter-out array, $(REGRESS ) )
81
78
endif
82
79
83
- #
84
- # Make conditional targets to save backward compatibility with PG11, PG10 and PG9.6.
85
- #
86
- ifeq ($(MAJORVERSION ) , $(filter 9.6% 10% 11% , $(MAJORVERSION ) ) )
87
-
88
80
install : installincludes
89
81
90
82
installincludes :
@@ -108,4 +100,9 @@ isolationcheck: | submake-isolation submake-rum temp-install
108
100
$(pg_isolation_regress_check ) \
109
101
--temp-config $(top_srcdir ) /contrib/rum/logical.conf \
110
102
$(ISOLATIONCHECKS )
103
+
104
+ # For 9.6-11 we have to make specific target with tap tests
105
+ check : temp-install
106
+ $(prove_check )
107
+
111
108
endif
0 commit comments