Delete tests of vcpkg_minimum_required, obsoleted by
DELETE
azure-pipelines/e2e_ports/overlays/vcpkg-requires-current-date/portfile.cmake
-vcpkg_minimum_required(VERSION ${VCPKG_BASE_VERSION})
-set(VCPKG_POLICY_EMPTY_PACKAGE enabled)

DELETE
azure-pipelines/e2e_ports/overlays/vcpkg-requires-current-date/vcpkg.json
-{
- "name": "vcpkg-requires-current-date",
- "version-string": "1.0.0",
- "description": "A test port that verifies that vcpkg_minimum_required is inclusive by using the current base version value.",
- "homepage": ""
-}

DELETE
azure-pipelines/e2e_ports/overlays/vcpkg-requires-future-date/portfile.cmake
-vcpkg_minimum_required(VERSION 2999-12-31)
-set(VCPKG_POLICY_EMPTY_PACKAGE enabled)

DELETE
azure-pipelines/e2e_ports/overlays/vcpkg-requires-future-date/vcpkg.json
-{
- "name": "vcpkg-requires-future-date",
- "version-string": "1.0.0",
- "description": "A test port that requires a vcpkg version from an impossibly far future.",
- "homepage": ""
-}

DELETE
azure-pipelines/e2e_ports/overlays/vcpkg-requires-old-date/portfile.cmake
-vcpkg_minimum_required(VERSION 2020-01-12)
-set(VCPKG_POLICY_EMPTY_PACKAGE enabled)

DELETE
azure-pipelines/e2e_ports/overlays/vcpkg-requires-old-date/vcpkg.json
-{
- "name": "vcpkg-requires-old-date",
- "version-string": "1.0.0",
- "description": "A test port that requires a vcpkg version from before vcpkg_minimum_required's introduction.",
- "homepage": ""
-}

DELETE
azure-pipelines/end-to-end-tests-dir/vcpkg-minimum-required.ps1
-. $PSScriptRoot/../end-to-end-tests-prelude.ps1
-
-$successCases = @('vcpkg-requires-current-date', 'vcpkg-requires-old-date')
-foreach ($successCase in $successCases) {
- $CurrentTest = "Should succeeed: ./vcpkg install $successCase"
- Write-Host $CurrentTest
- Run-Vcpkg install $successCase @commonArgs
- if ($LastExitCode -ne 0) {
- throw $CurrentTest
- } else {
- Write-Host "... succeeded."
- }
-}
-
-$CurrentTest = "Should fail: ./vcpkg install vcpkg-requires-future-date"
-Write-Host $CurrentTest
-Run-Vcpkg install vcpkg-requires-future-date @commonArgs
-if ($LastExitCode -ne 0) {
- Write-Host "... failed (this is good!)."
-} else {
- throw $CurrentTest
-}

MODIFY
azure-pipelines/pipelines.yml
azure-pipelines/pipelines.yml
variables:
- VCPKG_REPO_COMMIT_SHA: '28c588e6afa75298ec3d3703db9f05e88da2b2b4'
+ VCPKG_REPO_COMMIT_SHA: '261c458af6e3eed5d099144aff95d2b5035f656b'
jobs:
- job: linux
displayName: 'Linux'

Delete tests of vcpkg_minimum_required, obsoleted by https://github.com/microsoft/vcpkg/pull/19257 (#144)