diff options
author | David Roman <davidroman96@gmail.com> | 2023-08-12 19:10:02 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-09-04 13:29:49 +0100 |
commit | 8aa7e6a5f417cbbead816aef2de1213cce27947c (patch) | |
tree | 3afb8468fb45f463cb13ca87d3ac664d6eaa3c3f /dev-libs/spdlog | |
parent | app-admin/rex: drop old (diff) | |
download | gentoo-8aa7e6a5f417cbbead816aef2de1213cce27947c.tar.gz gentoo-8aa7e6a5f417cbbead816aef2de1213cce27947c.tar.bz2 gentoo-8aa7e6a5f417cbbead816aef2de1213cce27947c.zip |
dev-libs/spdlog: fix tests
Closes: https://bugs.gentoo.org/911322
Signed-off-by: David Roman <davidroman96@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/32274
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/spdlog')
-rw-r--r-- | dev-libs/spdlog/files/spdlog-1.12.0-fix-tests.patch | 13 | ||||
-rw-r--r-- | dev-libs/spdlog/spdlog-1.12.0-r2.ebuild | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/dev-libs/spdlog/files/spdlog-1.12.0-fix-tests.patch b/dev-libs/spdlog/files/spdlog-1.12.0-fix-tests.patch new file mode 100644 index 000000000000..8ad33f4fc8d0 --- /dev/null +++ b/dev-libs/spdlog/files/spdlog-1.12.0-fix-tests.patch @@ -0,0 +1,13 @@ +diff --git a/tests/test_misc.cpp b/tests/test_misc.cpp +index 9f3cb1744..6199641ff 100644 +--- a/tests/test_misc.cpp ++++ b/tests/test_misc.cpp +@@ -43,7 +43,7 @@ TEST_CASE("log_levels", "[log_levels]") + REQUIRE(log_info("Hello", spdlog::level::trace) == "Hello"); + } + +-TEST_CASE("level_to_string_view", "[convert_to_string_view") ++TEST_CASE("level_to_string_view", "[convert_to_string_view]") + { + REQUIRE(spdlog::level::to_string_view(spdlog::level::trace) == "trace"); + REQUIRE(spdlog::level::to_string_view(spdlog::level::debug) == "debug"); diff --git a/dev-libs/spdlog/spdlog-1.12.0-r2.ebuild b/dev-libs/spdlog/spdlog-1.12.0-r2.ebuild index 55c4ac137dc1..86c85fff7203 100644 --- a/dev-libs/spdlog/spdlog-1.12.0-r2.ebuild +++ b/dev-libs/spdlog/spdlog-1.12.0-r2.ebuild @@ -32,6 +32,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/${PN}-force_external_fmt.patch" + "${FILESDIR}/${P}-fix-tests.patch" ) src_prepare() { |