Skip to content

Commit c9c7975

Browse files
authored
Merge pull request IvorySQL#891 from OreoYang/oracle_regression
Oracle regression framework restructure
2 parents c174b2b + 202afcd commit c9c7975

11 files changed

Lines changed: 16 additions & 16 deletions

File tree

‎GNUmakefile.in‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ check check-tests installcheck installcheck-parallel installcheck-tests oracle-p
6969
check check-tests installcheck installcheck-parallel installcheck-tests oracle-pg-check: submake-generated-headers
7070
$(MAKE) -C src/test/regress $@
7171

72-
72+
oracle-check-tests: | oracle-temp-install
7373

7474
# add oracle regression
7575
oracle-check oracle-check-tests oracle-installcheck oracle-installcheck-parallel oracle-installcheck-tests: CHECKPREP_TOP=src/oracle_test/regress

‎src/Makefile.global.in‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ ifeq ($(MAKELEVEL),0)
463463
rm -rf '$(abs_top_builddir)'/tmp_install
464464
$(MKDIR_P) '$(abs_top_builddir)'/tmp_install/log
465465
$(MAKE) -C '$(top_builddir)' DESTDIR='$(abs_top_builddir)'/tmp_install install >'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1
466-
$(MAKE) -j1 $(if $(CHECKPREP_TOP),-C $(CHECKPREP_TOP),) checkprep >>'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1
466+
$(MAKE) -j1 $(if $(CHECKPREP_TOP),-C $(CHECKPREP_TOP),) oracle-checkprep >>'$(abs_top_builddir)'/tmp_install/log/install.log 2>&1
467467

468468
$(with_temp_install) initdb --auth trust --no-sync -m oracle -C normal --no-instructions --lc-messages=C --no-clean '$(abs_top_builddir)'/tmp_install/initdb-template >>'$(abs_top_builddir)'/tmp_install/log/initdb-template.log 2>&1
469469
endif

‎src/oracle_test/isolation/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ oracle-check: all
7575
# Non-default tests. It only makes sense to run these if set up to use
7676
# prepared transactions, via TEMP_CONFIG for the check case, or via the
7777
# postgresql.conf for the installcheck case.
78-
oracle-installcheck-prepared-txns: all temp-install
78+
oracle-installcheck-prepared-txns: all oracle-temp-install
7979
$(oracle_isolation_regress_installcheck) --schedule=$(srcdir)/isolation_schedule prepared-transactions prepared-transactions-cic
8080

81-
oracle-check-prepared-txns: all temp-install
81+
oracle-check-prepared-txns: all oracle-temp-install
8282
$(oracle_isolation_regress_check) --schedule=$(srcdir)/isolation_schedule prepared-transactions prepared-transactions-cic

‎src/oracle_test/modules/injection_points/expected/injection_points.out‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CREATE EXTENSION injection_points;
22
\getenv libdir PG_LIBDIR
33
\getenv dlsuffix PG_DLSUFFIX
4-
\set regresslib :libdir '/regress' :dlsuffix
4+
\set regresslib :libdir '/oraregress' :dlsuffix
55
CREATE FUNCTION wait_pid(int)
66
RETURNS void
77
AS :'regresslib'

‎src/oracle_test/modules/injection_points/sql/injection_points.sql‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ CREATE EXTENSION injection_points;
22

33
\getenv libdir PG_LIBDIR
44
\getenv dlsuffix PG_DLSUFFIX
5-
\set regresslib :libdir '/regress' :dlsuffix
5+
\set regresslib :libdir '/oraregress' :dlsuffix
66

77
CREATE FUNCTION wait_pid(int)
88
RETURNS void

‎src/oracle_test/modules/test_oat_hooks/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# src/test/modules/test_oat_hooks/Makefile
1+
# src/oracle_test/modules/test_oat_hooks/Makefile
22

33
MODULE_big = test_oat_hooks
44
OBJS = \
@@ -19,7 +19,7 @@ PG_CONFIG = pg_config
1919
PGXS := $(shell $(PG_CONFIG) --pgxs)
2020
include $(PGXS)
2121
else
22-
subdir = src/test/modules/test_oat_hooks
22+
subdir = src/oracle_test/modules/test_oat_hooks
2323
top_builddir = ../../../..
2424
include $(top_builddir)/src/Makefile.global
2525
include $(top_srcdir)/contrib/contrib-global.mk

‎src/oracle_test/modules/test_resowner/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# src/test/modules/test_resowner/Makefile
1+
# src/oracle_test/modules/test_resowner/Makefile
22

33
MODULE_big = test_resowner
44
OBJS = \
@@ -17,7 +17,7 @@ PG_CONFIG = pg_config
1717
PGXS := $(shell $(PG_CONFIG) --pgxs)
1818
include $(PGXS)
1919
else
20-
subdir = src/test/modules/test_resowner
20+
subdir = src/oracle_test/modules/test_resowner
2121
top_builddir = ../../../..
2222
include $(top_builddir)/src/Makefile.global
2323
include $(top_srcdir)/contrib/contrib-global.mk

‎src/oracle_test/recovery/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
EXTRA_INSTALL=contrib/pg_prewarm \
1515
contrib/pg_stat_statements \
1616
contrib/test_decoding \
17-
src/test/modules/injection_points
17+
src/oracle_test/modules/injection_points
1818

1919
subdir = src/oracle_test/recovery
2020
top_builddir = ../../..

‎src/oracle_test/regress/GNUmakefile‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#
1414
#-------------------------------------------------------------------------
1515

16-
PGFILEDESC = "pg_regress - test driver"
16+
PGFILEDESC = "ora_pg_regress - test driver"
1717
PGAPPICON = win32
1818

1919
subdir = src/oracle_test/regress
@@ -101,7 +101,7 @@ ORACLE_REGRESS_OPTS = --dlpath=. --max-concurrent-tests=20 \
101101
oracle-check: all
102102
$(oracle_regress_check) $(ORACLE_REGRESS_OPTS) --schedule=$(srcdir)/parallel_schedule $(MAXCONNOPT) $(EXTRA_TESTS)
103103

104-
oracle-check-tests: all | temp-install
104+
oracle-check-tests: all | oracle-temp-install
105105
$(oracle_regress_check) $(ORACLE_REGRESS_OPTS) $(MAXCONNOPT) $(TESTS) $(EXTRA_TESTS)
106106

107107
oracle-installcheck: all
@@ -124,7 +124,7 @@ bigtest: all
124124
$(oracle_regress_installcheck) $(ORACLE_REGRESS_OPTS) --schedule=$(srcdir)/serial_schedule --max-connections=1 numeric_big
125125
$(oracle_regress_installcheck) $(ORACLE_REGRESS_OPTS) --schedule=$(srcdir)/parallel_schedule --max-connections=1 numeric_big
126126

127-
bigcheck: all | temp-install
127+
bigcheck: all | oracle-temp-install
128128
$(oracle_regress_check) $(ORACLE_REGRESS_OPTS) --schedule=$(srcdir)/parallel_schedule $(MAXCONNOPT) numeric_big
129129

130130

‎src/oracle_test/regress/expected/type_sanity.out‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
-- directory paths and dlsuffix are passed to us in environment variables
1515
\getenv libdir PG_LIBDIR
1616
\getenv dlsuffix PG_DLSUFFIX
17-
\set regresslib :libdir '/regress' :dlsuffix
17+
\set regresslib :libdir '/oraregress' :dlsuffix
1818
-- **************** pg_type ****************
1919
-- Look for illegal values in pg_type fields.
2020
SELECT t1.oid, t1.typname

0 commit comments

Comments
 (0)