mirror of https://github.com/citusdata/citus.git
Change diff output to unified in pg_regress_multi.pl.
Unified is better understood by a lot of people, and the default almost everywhere (including github).pull/1110/head
parent
16608a3259
commit
f2ee63d638
|
@ -96,6 +96,13 @@ if (defined $bindir)
|
||||||
$ENV{PATH} = ($ENV{PATH} || '').":$bindir";
|
$ENV{PATH} = ($ENV{PATH} || '').":$bindir";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Most people are used to unified diffs these days, rather than the
|
||||||
|
# context diffs pg_regress defaults to. Change default to avoid
|
||||||
|
# everyone having to (re-)learn how to change that setting. Also add
|
||||||
|
# a bit more context to make it easier to locate failed test sections.
|
||||||
|
$ENV{PG_REGRESS_DIFF_OPTS} = '-du10';
|
||||||
|
|
||||||
my $plainRegress = "$pgxsdir/src/test/regress/pg_regress";
|
my $plainRegress = "$pgxsdir/src/test/regress/pg_regress";
|
||||||
my $isolationRegress = "${postgresBuilddir}/src/test/isolation/pg_isolation_regress";
|
my $isolationRegress = "${postgresBuilddir}/src/test/isolation/pg_isolation_regress";
|
||||||
if ($isolationtester && ! -f "$isolationRegress")
|
if ($isolationtester && ! -f "$isolationRegress")
|
||||||
|
|
Loading…
Reference in New Issue