Skip to content

Commit c4a106d

Browse files
committed
Get 'make test' working again, both with HEALPix and without
1 parent ec3933a commit c4a106d

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

Diff for: Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ else
134134
endif
135135

136136
test: pg_sphere.test.sql sql/init_test.sql
137+
cp expected/init_test.out.in expected/init_test.out
138+
ifneq ($(USE_HEALPIX),0)
139+
cat expected/init_test_healpix.out.in >> expected/init_test.out
140+
endif
137141
$(pg_regress_installcheck) $(PGS_TMP_DIR) $(REGRESS_OPTS) $(TESTS)
138142

139143
pg_sphere.test.sql: $(RELEASE_SQL) $(shlib)

Diff for: expected/init_test.out renamed to expected/init_test.out.in

+7-9
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,12 @@ psql:pg_sphere.test.sql:159: NOTICE: argument type spath is only a shell
2424
psql:pg_sphere.test.sql:178: NOTICE: type "sbox" is not yet defined
2525
DETAIL: Creating a shell type definition.
2626
psql:pg_sphere.test.sql:185: NOTICE: argument type sbox is only a shell
27-
psql:pg_sphere.test.sql:8541: NOTICE: type "spherekey" is not yet defined
27+
psql:pg_sphere.test.sql:8540: NOTICE: type "spherekey" is not yet defined
2828
DETAIL: Creating a shell type definition.
29-
psql:pg_sphere.test.sql:8548: NOTICE: argument type spherekey is only a shell
30-
psql:pg_sphere.test.sql:8562: NOTICE: type "pointkey" is not yet defined
29+
psql:pg_sphere.test.sql:8547: NOTICE: argument type spherekey is only a shell
30+
psql:pg_sphere.test.sql:8561: NOTICE: type "pointkey" is not yet defined
3131
DETAIL: Creating a shell type definition.
32-
psql:pg_sphere.test.sql:8569: NOTICE: argument type pointkey is only a shell
33-
psql:pg_sphere.test.sql:8575: NOTICE: argument type pointkey is only a shell
34-
psql:pg_sphere.test.sql:8581: NOTICE: argument type pointkey is only a shell
35-
psql:pg_sphere.test.sql:8587: NOTICE: argument type pointkey is only a shell
36-
psql:pg_sphere.test.sql:9154: NOTICE: return type smoc is only a shell
37-
psql:pg_sphere.test.sql:9160: NOTICE: argument type smoc is only a shell
32+
psql:pg_sphere.test.sql:8568: NOTICE: argument type pointkey is only a shell
33+
psql:pg_sphere.test.sql:8574: NOTICE: argument type pointkey is only a shell
34+
psql:pg_sphere.test.sql:8580: NOTICE: argument type pointkey is only a shell
35+
psql:pg_sphere.test.sql:8586: NOTICE: argument type pointkey is only a shell

Diff for: expected/init_test_healpix.out.in

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
psql:pg_sphere.test.sql:9153: NOTICE: return type smoc is only a shell
2+
psql:pg_sphere.test.sql:9159: NOTICE: argument type smoc is only a shell

0 commit comments

Comments
 (0)