aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/vcpkg-test
diff options
context:
space:
mode:
authorras0219 <533828+ras0219@users.noreply.github.com>2021-02-02 15:00:33 -0800
committerGitHub <noreply@github.com>2021-02-02 15:00:33 -0800
commit5793c4bd9f5d3a8e9087d444beba202e753ec4c9 (patch)
treeda656084cd9fd4685d202b8fd24d852ce7185d84 /toolsrc/include/vcpkg-test
parent3b4a4e4b5cff58ae9af6b46ad63fda71146f6ce4 (diff)
downloadvcpkg-5793c4bd9f5d3a8e9087d444beba202e753ec4c9.tar.gz
vcpkg-5793c4bd9f5d3a8e9087d444beba202e753ec4c9.zip
[vcpkg] Miscellaneous internal improvements extracted from #15424 (#15677)
* [vcpkg] Miscellaneous internal improvements extracted from #15424 * [vcpkg] CR comments * [armadillo] Use vcpkg_from_git() to workaround gitlab missing archive Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'toolsrc/include/vcpkg-test')
-rw-r--r--toolsrc/include/vcpkg-test/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg-test/util.h b/toolsrc/include/vcpkg-test/util.h
index d2c512f9b..1e20531fc 100644
--- a/toolsrc/include/vcpkg-test/util.h
+++ b/toolsrc/include/vcpkg-test/util.h
@@ -32,6 +32,12 @@ namespace Catch
value.package_spec.triplet());
}
};
+
+ template<>
+ struct StringMaker<vcpkg::Triplet>
+ {
+ static const std::string& convert(const vcpkg::Triplet& triplet) { return triplet.canonical_name(); }
+ };
}
namespace vcpkg::Test