HexaCluster / pg_dbms_metadata

PostgreSQL License
11 stars 2 forks source link

Use PostgreSQL like regression test. #2

Closed darold closed 10 months ago

darold commented 10 months ago

Output will be something like this;

$ make installcheck
echo "+++ regress install-check in  +++" && /usr/lib/postgresql/15/lib/pgxs/src/makefiles/../../src/test/regress/pg_regress --inputdir=./ --bindir='/usr/lib/postgresql/15/bin'    --inputdir=test --dbname=contrib_regression 00_init 01_get_ddl 02_get_dependent_ddl 03_get_granted_ddl
+++ regress install-check in  +++
(using postmaster on Unix socket, default port)
============== dropping database "contrib_regression" ==============
SET
DROP DATABASE
============== creating database "contrib_regression" ==============
CREATE DATABASE
ALTER DATABASE
ALTER DATABASE
ALTER DATABASE
ALTER DATABASE
ALTER DATABASE
ALTER DATABASE
============== running regression test queries        ==============
test 00_init                      ... ok          124 ms
test 01_get_ddl                   ... ok           34 ms
test 02_get_dependent_ddl         ... ok           27 ms
test 03_get_granted_ddl           ... ok            8 ms

=====================
 All 4 tests passed. 
=====================