diff --git a/azure-pipelines/end-to-end-tests-dir/manifests.ps1 b/azure-pipelines/end-to-end-tests-dir/manifests.ps1 index 5e66eca742..d3d331716a 100644 --- a/azure-pipelines/end-to-end-tests-dir/manifests.ps1 +++ b/azure-pipelines/end-to-end-tests-dir/manifests.ps1 @@ -14,6 +14,7 @@ function feature { } $vcpkgJson = @{ + 'name' = 'toplevel-spec'; 'default-features' = @( 'default-fail' ); 'features' = @{ 'default-fail' = feature 'vcpkg-fail-if-depended-upon'; @@ -29,6 +30,11 @@ $vcpkgJson = @{ 'default-features' = $False; 'features' = @( 'success' ) }; + 'no-default-features-3' = feature @{ + 'name' = 'toplevel-spec'; + 'default-features' = $False; + 'features' = @( 'no-default-features-1' ) + }; } } @@ -78,6 +84,12 @@ Throw-IfFailed Write-Trace "test manifest features: no-default-features, features = [no-default-features-2]" Run-Vcpkg install @noDefaultFeatureArgs --x-feature=no-default-features-2 Throw-IfFailed +Write-Trace "test manifest features: no-default-features, features = [no-default-features-1,no-default-features-3]" +Run-Vcpkg install @noDefaultFeatureArgs --x-feature=no-default-features-1 --x-feature=no-default-features-3 +Throw-IfFailed +Write-Trace "test manifest features: no-default-features, features = [no-default-features-3]" +Run-Vcpkg install @noDefaultFeatureArgs --x-feature=no-default-features-3 +Throw-IfFailed $vcpkgJson = @{ 'name' = "manifest-test";