Skip to content

Commit 8138fc1

Browse files
committed
make test: Don't track NOTICEs
There's little value in tracking the noise of NOTICEs emitted during loading pg_sphere.test.sql, so just mute them. The gain from this change is that future patches will not have to update the changed line numbers in the output tracked. (Cf. c2a2351)
1 parent e64212e commit 8138fc1

File tree

5 files changed

+4
-44
lines changed

5 files changed

+4
-44
lines changed

Diff for: Makefile

+1-5
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,7 @@ ifeq ($(has_explain_summary),y)
120120
endif
121121
endif
122122

123-
test: pg_sphere.test.sql sql/init_test.sql
124-
cp expected/init_test.out.in expected/init_test.out
125-
ifneq ($(USE_HEALPIX),0)
126-
cat expected/init_test_healpix.out.in >> expected/init_test.out
127-
endif
123+
test: pg_sphere.test.sql
128124
$(pg_regress_installcheck) --temp-instance=tmp_check $(REGRESS_OPTS) $(TESTS)
129125

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

Diff for: expected/init_test.out

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SET client_min_messages TO WARNING;
2+
\set ECHO none

Diff for: expected/init_test.out.in

-35
This file was deleted.

Diff for: expected/init_test_healpix.out.in

-2
This file was deleted.

Diff for: sql/init_test.sql

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
SET client_min_messages TO NOTICE;
1+
SET client_min_messages TO WARNING;
22
\set ECHO none
33
\i pg_sphere.test.sql
4-
\set ECHO all

0 commit comments

Comments
 (0)