You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-09-16 09:06:18 +02:00
Allow mock integration tests for all VM types.
Previously the mock integration tests would be skipped for VMs other than the standard four used in CI. Now VMs outside the standard four will run the same tests as VM4 (currently U18).
This commit is contained in:
@@ -512,6 +512,23 @@ sub vmValid
|
||||
|
||||
push @EXPORT, qw(vmValid);
|
||||
|
||||
####################################################################################################################################
|
||||
# Which vm to use for the test matrix. If one of the standard four, then use that, else use VM4.
|
||||
####################################################################################################################################
|
||||
sub vmTest
|
||||
{
|
||||
my $strVm = shift;
|
||||
|
||||
if (grep(/^$strVm$/, VM_LIST))
|
||||
{
|
||||
return $strVm;
|
||||
}
|
||||
|
||||
return VM4;
|
||||
}
|
||||
|
||||
push @EXPORT, qw(vmTest);
|
||||
|
||||
####################################################################################################################################
|
||||
# vmGet
|
||||
####################################################################################################################################
|
||||
|
Reference in New Issue
Block a user