You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-09-16 09:06:18 +02:00
Move profile results to test/result.
This commit is contained in:
4
test/.gitignore
vendored
4
test/.gitignore
vendored
@@ -7,5 +7,7 @@
|
||||
|
||||
# Exclude paths where test code writes results (eventually want to get this down to just result)
|
||||
/coverage*
|
||||
/profile
|
||||
/result
|
||||
|
||||
# Obsolete result paths ignored so old results don't suddenly show up as new files
|
||||
/profile
|
||||
|
@@ -606,9 +606,10 @@ sub end
|
||||
($self->{oTest}->{&TEST_VM} ne VM_NONE ? 'docker exec -i -u ' . TEST_USER . " ${strImage} " : '') .
|
||||
"gprof $self->{strGCovPath}/test.bin $self->{strGCovPath}/gmon.out > $self->{strGCovPath}/gprof.txt");
|
||||
|
||||
$self->{oStorageTest}->pathCreate("$self->{strBackRestBase}/test/profile", {strMode => '0750', bIgnoreExists => true});
|
||||
$self->{oStorageTest}->pathCreate(
|
||||
"$self->{strBackRestBase}/test/result/profile", {strMode => '0750', bIgnoreExists => true, bCreateParent => true});
|
||||
$self->{oStorageTest}->copy(
|
||||
"$self->{strGCovPath}/gprof.txt", "$self->{strBackRestBase}/test/profile/gprof.txt");
|
||||
"$self->{strGCovPath}/gprof.txt", "$self->{strBackRestBase}/test/result/profile/gprof.txt");
|
||||
}
|
||||
|
||||
# If C code generate coverage info
|
||||
|
@@ -415,7 +415,7 @@ eval
|
||||
executeTest(
|
||||
"git -C ${strBackRestBase} ls-files -c --others --exclude-standard |" .
|
||||
" rsync -rtW --out-format=\"\%n\" --delete --ignore-missing-args" .
|
||||
" --exclude=test/result --exclude=test/profile --exclude=repo.manifest" .
|
||||
" --exclude=test/result --exclude=repo.manifest" .
|
||||
" ${strBackRestBase}/ --files-from=- ${strRepoCachePath}"))));
|
||||
|
||||
if (@stryModifiedList > 0)
|
||||
|
Reference in New Issue
Block a user