aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg-test/commands.create.cpp
diff options
context:
space:
mode:
authornicole mazzuca <mazzucan@outlook.com>2020-11-09 11:15:31 -0800
committerGitHub <noreply@github.com>2020-11-09 11:15:31 -0800
commita94f261320398b859e5afb2b4d4c5a574f5d205a (patch)
treed8ae8ad5f740275f2c75e4981c5bd27a9b15a9ed /toolsrc/src/vcpkg-test/commands.create.cpp
parent179bdd1697e03663869c2c3341343396c3ac6dfb (diff)
downloadvcpkg-a94f261320398b859e5afb2b4d4c5a574f5d205a.tar.gz
vcpkg-a94f261320398b859e5afb2b4d4c5a574f5d205a.zip
[vcpkg] Initial Registries: Part 2 MVP (#14153)
* [vcpkg wip] start implementation of registries pt. 2 * Remove the `ports` field of `VcpkgPaths` This is an implementation detail, and so we want to make sure that it's obvious that this is an internal detail; thus, we add a new function `builtin_ports_directory()`, which returns the directory where the builtin ports backing store is. * continue WIP * wip * It works! * format * fix some issues * switch from function static to DelayedInit * fix lexically_normal for experimental::filesystem * format * fix missing include * add STL notice * whee error handling * moar error handling! * ignore extra files in registries * formatting * Billy CRs * Update toolsrc/include/vcpkg/versiont.h * fix add_filename test * fix tests * remove unused function add_filename
Diffstat (limited to 'toolsrc/src/vcpkg-test/commands.create.cpp')
-rw-r--r--toolsrc/src/vcpkg-test/commands.create.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg-test/commands.create.cpp b/toolsrc/src/vcpkg-test/commands.create.cpp
index 0cc93bd57..8b8dfa230 100644
--- a/toolsrc/src/vcpkg-test/commands.create.cpp
+++ b/toolsrc/src/vcpkg-test/commands.create.cpp
@@ -19,7 +19,7 @@ TEST_CASE ("create smoke test", "[commands-create]")
VcpkgPaths paths(fsWrapper, args);
const auto exit_code = Commands::Create::perform(args, paths);
REQUIRE(exit_code == 0);
- const auto expected_port = paths.ports / fs::u8path("zlib2");
+ const auto expected_port = paths.builtin_ports_directory() / fs::u8path("zlib2");
const auto expected_portfile_cmake = expected_port / fs::u8path("portfile.cmake");
const auto lines = fsWrapper.read_lines(expected_portfile_cmake);
REQUIRE(lines.has_value());