commit: f11e30f6f548c100f6acedf209912949d1cd8176
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 10 19:38:07 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov 10 19:48:18 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f11e30f6
dev-util/clazy: fix tests w/ clazy not installed
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/clazy/clazy-1.12.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-util/clazy/clazy-1.12.ebuild b/dev-util/clazy/clazy-1.12.ebuild
index 0ef620361b62..a04372e51041 100644
--- a/dev-util/clazy/clazy-1.12.ebuild
+++ b/dev-util/clazy/clazy-1.12.ebuild
@@ -74,12 +74,14 @@ src_test() {
# Run tests against built copy, not installed
# bug #811723
- local -x PATH="${BUILD_DIR}/${LLVM_ROOT}/bin:${BUILD_DIR}/bin:${PATH}"
+ local -x
PATH="${BUILD_DIR}/${LLVM_ROOT}/bin:${BUILD_DIR}/bin:${BUILD_DIR}:${PATH}"
local -x LD_LIBRARY_PATH="${BUILD_DIR}/lib"
# NOTE or DEPEND on "test? ( dev-qt/qtscxml:6[qml] )"
local -x CMAKE_SKIP_TESTS=()
+ chmod +x "${BUILD_DIR}"/clazy || die
+
if ! has_version dev-qt/qtscxml:6; then
CMAKE_SKIP_TESTS+=(
# cannot find -lQt6StateMachine: No such file or
directory