@@ -38,18 +38,10 @@ REGRESS = init tables points euler circle line ellipse poly path box index \
38
38
contains_ops contains_ops_compat bounding_box_gist gnomo epochprop \
39
39
contains overlaps spoint_brin sbox_brin
40
40
41
- ifneq ($(USE_HEALPIX ) ,0)
42
- REGRESS += healpix moc mocautocast
43
- endif
44
-
45
41
TESTS = init_test tables points euler circle line ellipse poly path box \
46
42
index contains_ops contains_ops_compat bounding_box_gist gnomo \
47
43
epochprop contains overlaps spoint_brin sbox_brin
48
44
49
- ifneq ($(USE_HEALPIX ) ,0)
50
- TESTS += healpix moc mocautocast
51
- endif
52
-
53
45
PG_CFLAGS += -DPGSPHERE_VERSION=$(PGSPHERE_VERSION )
54
46
PG_CPPFLAGS += -DPGSPHERE_VERSION=$(PGSPHERE_VERSION )
55
47
@@ -70,6 +62,8 @@ PGS_SQL = pgs_types.sql pgs_point.sql pgs_euler.sql pgs_circle.sql \
70
62
pgs_gist.sql gnomo.sql pgs_brin.sql
71
63
72
64
ifneq ($(USE_HEALPIX ) ,0)
65
+ REGRESS += healpix moc moc1 moc100 mocautocast
66
+ TESTS += healpix moc moc1 moc100 mocautocast
73
67
PGS_SQL += healpix.sql
74
68
endif
75
69
@@ -109,17 +103,10 @@ healpix_bare/healpix_bare.o : healpix_bare/healpix_bare.c
109
103
$(COMPILE.c ) -Wno-declaration-after-statement -o $@ $^
110
104
111
105
pg_version := $(word 2,$(shell $(PG_CONFIG ) --version) )
112
- has_explain_summary = $(if $(filter-out 9.% ,$(pg_version ) ) ,y,n)
113
106
114
107
crushtest : REGRESS += $(CRUSH_TESTS )
115
108
crushtest : installcheck
116
109
117
- ifneq ($(USE_HEALPIX ) ,0)
118
- ifeq ($(has_explain_summary ) ,y)
119
- REGRESS += moc1 moc100
120
- endif
121
- endif
122
-
123
110
test : pg_sphere.test.sql
124
111
$(pg_regress_installcheck ) --temp-instance=tmp_check $(REGRESS_OPTS ) $(TESTS )
125
112
0 commit comments