summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-08-13 14:31:17 +0100
committerSam James <sam@gentoo.org>2022-08-13 14:31:45 +0100
commitd69f52de506e328a27aad9c250a460760fbba422 (patch)
tree64bd9422680647f29705be77dd431856ea6f075d /dev-cpp/nlohmann_json
parentgames-misc/fortune-mod: add 3.14.1 (diff)
downloadgentoo-d69f52de506e328a27aad9c250a460760fbba422.tar.gz
gentoo-d69f52de506e328a27aad9c250a460760fbba422.tar.bz2
gentoo-d69f52de506e328a27aad9c250a460760fbba422.zip
dev-cpp/nlohmann_json: fix tests w/o git in S
Closes: https://bugs.gentoo.org/865027 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/nlohmann_json')
-rw-r--r--dev-cpp/nlohmann_json/nlohmann_json-3.11.2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-cpp/nlohmann_json/nlohmann_json-3.11.2.ebuild b/dev-cpp/nlohmann_json/nlohmann_json-3.11.2.ebuild
index c631bc6644a9..6104a266421f 100644
--- a/dev-cpp/nlohmann_json/nlohmann_json-3.11.2.ebuild
+++ b/dev-cpp/nlohmann_json/nlohmann_json-3.11.2.ebuild
@@ -51,10 +51,14 @@ src_configure() {
src_test() {
cd "${BUILD_DIR}"/tests || die
+ # git_required:
# Skip certain tests needing git per upstream
# https://github.com/nlohmann/json/issues/2189
+ #
+ # cmake_fetch_content_configure, cmake_fetch_content2_configure:
+ # Needs network (bug #865027)
local myctestargs=(
- "-LE git_required"
+ -E "(git_required|cmake_fetch_content_configure|cmake_fetch_content2_configure)"
)
cmake_src_test