Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7459484

Browse files
committed
Disable installcheck tests for test_session_hooks
The module requires a preloaded library and the defect can't be cured bya LOAD instruction in the test script. To achieve this we override theinstallcheck target in the module's Makefile, and exclude ithe module invcregress.pl.Along the way, revert commit9989f92.
1 parent9989f92 commit7459484

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

‎src/test/modules/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ SUBDIRS = \
1515
test_pg_dump\
1616
test_rbtree\
1717
test_rls_hooks\
18+
test_session_hooks\
1819
test_shm_mq\
1920
worker_spi
2021

‎src/test/modules/test_session_hooks/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ top_builddir = ../../../..
1919
include$(top_builddir)/src/Makefile.global
2020
include$(top_srcdir)/contrib/contrib-global.mk
2121
endif
22+
23+
# override installcheck - this module requires preloading the test module
24+
installcheck:
25+
@echo Cannot run$@for test_session_hooks. Run"'make check'" instead.

‎src/tools/msvc/vcregress.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ sub modulescheck
383383
my$mstat = 0;
384384
foreachmy$module (glob("*"))
385385
{
386+
# test_session_hooks can't run installcheck, so skip it here
387+
nextif$moduleeq'test_session_hooks';
386388
subdircheck("$topdir/src/test/modules",$module);
387389
my$status =$? >> 8;
388390
$mstat ||=$status;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp