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

Commit7e6124c

Browse files
committed
Remove REGRESS_OUTPUTDIR environment variable.
Andres Freund points out that the tmp_check path is already available asperl variable PostgreSQL::Test::Utils::tmp_check, so we can drop the newenvironment variable introduced by commitf47ed79.Discussion:https://postgr.es/m/20220213052955.dh7lheehit7bsemf%40alap3.anarazel.de
1 parent302612a commit7e6124c

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

‎src/test/recovery/Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ include $(top_builddir)/src/Makefile.global
1919
REGRESS_SHLIB=$(abs_top_builddir)/src/test/regress/regress$(DLSUFFIX)
2020
exportREGRESS_SHLIB
2121

22-
# required for 027_stream_regress.pl
23-
REGRESS_OUTPUTDIR=$(abs_top_builddir)/src/test/recovery/tmp_check
24-
exportREGRESS_OUTPUTDIR
25-
2622
check:
2723
$(prove_check)
2824

‎src/test/recovery/t/027_stream_regress.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
$node_standby_1->start;
5050

5151
my$dlpath = PostgreSQL::Test::Utils::perl2host(dirname($ENV{REGRESS_SHLIB}));
52-
my$outputdir = PostgreSQL::Test::Utils::perl2host($ENV{REGRESS_OUTPUTDIR});
52+
my$outputdir = PostgreSQL::Test::Utils::perl2host($PostgreSQL::Test::Utils::tmp_check);
5353

5454
# Run the regression tests against the primary.
5555
my$extra_opts =$ENV{EXTRA_REGRESS_OPTS} ||"";

‎src/tools/msvc/vcregress.pl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,8 +536,6 @@ sub recoverycheck
536536
{
537537
InstallTemp();
538538

539-
$ENV{REGRESS_OUTPUTDIR} ="$topdir/src/test/recovery/tmp_check";
540-
541539
my$dir ="$topdir/src/test/recovery";
542540
my$status = tap_check($dir);
543541
exit$statusif$status;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp