summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2023-12-10 20:43:36 +0100
committerFlorian Schmaus <flow@gentoo.org>2023-12-10 20:44:14 +0100
commit4090dd8138d83d97e58fa8c520ad0095781fa7ae (patch)
tree8ff90f8503094eeac9aa3b42eb651be09ad4af84 /dev-util
parentapp-doc/python-docs: Remove old (diff)
downloadgentoo-4090dd8138d83d97e58fa8c520ad0095781fa7ae.tar.gz
gentoo-4090dd8138d83d97e58fa8c520ad0095781fa7ae.tar.bz2
gentoo-4090dd8138d83d97e58fa8c520ad0095781fa7ae.zip
dev-util/include-what-you-use: fix tests
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/include-what-you-use/include-what-you-use-0.21.ebuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild
index 4c7547c75284..3ba1024cf7a5 100644
--- a/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild
+++ b/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild
@@ -28,10 +28,6 @@ DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-PATCHES=(
- "${FILESDIR}"/${PN}-0.19-tests-cxx-badinc.cc-remove-stddef-from-expected.patch
-)
-
llvm_check_deps() {
has_version "sys-devel/clang:${LLVM_SLOT}"
}
@@ -81,7 +77,7 @@ src_test() {
die "Could not infer clang include directory. Candidates: ${clang_include_dir_candidates[*]}"
fi
- local -x EXTRA_IWYU_ARGS="-I ${clang_include_dir}"
+ local -x IWYU_EXTRA_ARGS="-I ${clang_include_dir}"
"${EPYTHON}" run_iwyu_tests.py \
-- "${BUILD_DIR}"/bin/${PN} \
|| die "Tests failed with $? (using ${EPYTHON})"