aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/tests.utils.h
diff options
context:
space:
mode:
authorJonathan Hale <Squareys@googlemail.com>2018-02-15 01:18:25 +0100
committerRobert Schumacher <roschuma@microsoft.com>2018-02-14 16:18:25 -0800
commit425d07ef7f82541e50cc8cb1e2716fc33bba7b12 (patch)
treee73f3675b5fe95f0dc61521a2a7457a6e5c08d53 /toolsrc/include/tests.utils.h
parent50a545fcff4b3c922aa3ef5d0646dc9850f1bb86 (diff)
downloadvcpkg-425d07ef7f82541e50cc8cb1e2716fc33bba7b12.tar.gz
vcpkg-425d07ef7f82541e50cc8cb1e2716fc33bba7b12.zip
[vcpkg] Implement Default-Features (#2697)
* [vcpkg] Add Default-Feature to make_status_pgh utility function Signed-off-by: Squareys <squareys@googlemail.com> * [vcpkg] Parse "Default-Features" as dependencies and add test for parsing Signed-off-by: Squareys <squareys@googlemail.com> * [vcpkg] Document some methods and structures Signed-off-by: Squareys <squareys@googlemail.com> * [vcpkg] Add install_default_features_test Signed-off-by: Squareys <squareys@googlemail.com> * [vcpkg] Change install_default_features_test to not have preinstalled package * [vcpkg] Test install behaviour of default features Signed-off-by: Squareys <squareys@googlemail.com> * [vcpkg] Implement default features Signed-off-by: Squareys <squareys@googlemail.com> * [vcpkg] Test default features upgrade behavior Signed-off-by: Squareys <squareys@googlemail.com> * [vcpkg] Implement upgrade with default features Signed-off-by: Squareys <squareys@googlemail.com> * [vcpkg] Test behaviour of upgrade with default features in dependencies Signed-off-by: Squareys <squareys@googlemail.com> * [vcpkg] Make upgrade install new default features Signed-off-by: Squareys <squareys@googlemail.com> * [vcpkg] Move collecting of packages for which to prevent defaults Further down the line to create_feature_install_plan. Signed-off-by: Squareys <squareys@googlemail.com> * [vcpkg] Fix core missing from default features and potential inf loop Signed-off-by: Squareys <squareys@googlemail.com> * [vcpkg] Rename, fix and move some tests Signed-off-by: Squareys <squareys@googlemail.com>
Diffstat (limited to 'toolsrc/include/tests.utils.h')
-rw-r--r--toolsrc/include/tests.utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolsrc/include/tests.utils.h b/toolsrc/include/tests.utils.h
index b23abe4eb..970506663 100644
--- a/toolsrc/include/tests.utils.h
+++ b/toolsrc/include/tests.utils.h
@@ -20,6 +20,7 @@ namespace Microsoft::VisualStudio::CppUnitTestFramework
std::unique_ptr<vcpkg::StatusParagraph> make_status_pgh(const char* name,
const char* depends = "",
+ const char* default_features = "",
const char* triplet = "x86-windows");
std::unique_ptr<vcpkg::StatusParagraph> make_status_feature_pgh(const char* name,
const char* feature,