Skip to content
Permalink
Browse files

Exclude more build files from rsync between tests.

Files (especially build.auto.h) were being removed and forcing a full build between separate invocations of test.pl.

This affected ad-hoc testing at the command-line, not a full test run in CI.
  • Loading branch information...
dwsteele committed Jul 8, 2019
1 parent 5e1ed2e commit 27b3246e852e98902f21589f5cdfece9ebb27b39
Showing with 4 additions and 2 deletions.
  1. +4 −2 test/lib/pgBackRestTest/Common/JobTest.pm
@@ -214,7 +214,9 @@ sub run
{
executeTest(
'rsync -rt --delete --exclude=*.o --exclude=test.c --exclude=test.gcno --exclude=LibC.h --exclude=xs' .
" --exclude=test --exclude=buildflags --exclude=testflags --exclude=harnessflags" .
' --exclude=test --exclude=buildflags --exclude=testflags --exclude=harnessflags' .
' --exclude=build.auto.h --exclude=build.auto.h.in --exclude=Makefile --exclude=Makefile.in' .
' --exclude=configure --exclude=configure.ac' .
" $self->{strBackRestBase}/src/ $self->{strGCovPath} && " .
"rsync -t $self->{strBackRestBase}/libc/LibC.h $self->{strGCovPath} && " .
"rsync -rt --delete $self->{strBackRestBase}/libc/xs/ $self->{strGCovPath}/xs && " .
@@ -492,7 +494,7 @@ sub run
" -c $strCFile -o " . substr($strCFile, 0, length($strCFile) - 2) . ".o\n";
}

$self->{oStorageTest}->put($self->{strGCovPath} . "/Makefile", $strMakefile);
buildPutDiffers($self->{oStorageTest}, $self->{strGCovPath} . "/Makefile", $strMakefile);
}

my $oExec = new pgBackRestTest::Common::ExecuteTest(

0 comments on commit 27b3246

Please sign in to comment.
You can’t perform that action at this time.