1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-10-30 23:37:45 +02:00

C test harness refactor.

Consolidate setting configuration into hrnInit() and rename other functions for consistency.

Split out internal functions into a new header.
This commit is contained in:
David Steele
2019-10-16 15:48:33 +02:00
parent b4aeb217e6
commit 48bd9e22f1
5 changed files with 209 additions and 299 deletions

View File

@@ -413,7 +413,7 @@ sub run
$strTestInit .=
(defined($strTestInit) ? "\n " : '') .
sprintf("testAdd(%3d, %8s);" , $iTestIdx, ($bSelected ? 'true' : 'false'));
sprintf("hrnAdd(%3d, %8s);" , $iTestIdx, ($bSelected ? 'true' : 'false'));
}
$strTestC =~ s/\{\[C\_TEST\_LIST\]\}/$strTestInit/g;