mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Fix vpath build in libpq_pipeline test
The path needs to be set to refer to the build directory, not the current directory, because that's actually the source directory at that point. fix for 6abc8c2596dbfcb24f9b4d954a1465b8015118c3
This commit is contained in:
parent
6abc8c2596
commit
a717e5c771
@ -8,14 +8,13 @@ use Config;
|
|||||||
use PostgresNode;
|
use PostgresNode;
|
||||||
use TestLib;
|
use TestLib;
|
||||||
use Test::More;
|
use Test::More;
|
||||||
use Cwd;
|
|
||||||
|
|
||||||
my $node = get_new_node('main');
|
my $node = get_new_node('main');
|
||||||
$node->init;
|
$node->init;
|
||||||
$node->start;
|
$node->start;
|
||||||
|
|
||||||
my $numrows = 700;
|
my $numrows = 700;
|
||||||
$ENV{PATH} = "$ENV{PATH}:" . getcwd();
|
$ENV{PATH} = "$ENV{TESTDIR}:$ENV{PATH}";
|
||||||
|
|
||||||
my ($out, $err) = run_command([ 'libpq_pipeline', 'tests' ]);
|
my ($out, $err) = run_command([ 'libpq_pipeline', 'tests' ]);
|
||||||
die "oops: $err" unless $err eq '';
|
die "oops: $err" unless $err eq '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user