commit: 4090dd8138d83d97e58fa8c520ad0095781fa7ae Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Sun Dec 10 19:43:36 2023 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Sun Dec 10 19:44:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4090dd81
dev-util/include-what-you-use: fix tests Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> dev-util/include-what-you-use/include-what-you-use-0.21.ebuild | 6 +----- 1 file changed, 1 insertion(+), 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})"