From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C363D158086 for ; Sat, 16 Oct 2021 23:42:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1CE0FE087C; Sat, 16 Oct 2021 23:42:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 51E17E087C for ; Sat, 16 Oct 2021 23:42:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CFCD93431CB for ; Sat, 16 Oct 2021 23:42:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 15B55151 for ; Sat, 16 Oct 2021 23:42:06 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1634427717.d6a0bf9437a7278215c25a7e3f65cdbb5a8608d6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/clazy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/clazy/clazy-1.10.ebuild X-VCS-Directories: dev-util/clazy/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d6a0bf9437a7278215c25a7e3f65cdbb5a8608d6 X-VCS-Branch: master Date: Sat, 16 Oct 2021 23:42:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3c8cd325-64d8-4821-891a-abb7125623c0 X-Archives-Hash: 0ddb633677c32833683d5016ee9faf20 commit: d6a0bf9437a7278215c25a7e3f65cdbb5a8608d6 Author: Sam James gentoo org> AuthorDate: Sat Oct 16 23:41:22 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Oct 16 23:41:57 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a0bf94 dev-util/clazy: run tests against built copy of clazy This doesn't get us all of the way there yet though, tests still fail due to Clang shenanigans with include paths(?) Bug: https://bugs.gentoo.org/811723 Signed-off-by: Sam James gentoo.org> dev-util/clazy/clazy-1.10.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev-util/clazy/clazy-1.10.ebuild b/dev-util/clazy/clazy-1.10.ebuild index 7f7ef80b920..160c50c5c64 100644 --- a/dev-util/clazy/clazy-1.10.ebuild +++ b/dev-util/clazy/clazy-1.10.ebuild @@ -36,3 +36,9 @@ src_configure() { export LLVM_ROOT="/usr/lib/llvm/$(ver_cut 1 ${clang_version##sys-devel/clang-})" cmake_src_configure } + +src_test() { + # Run tests against built copy, not installed + # bug #811723 + PATH="${BUILD_DIR}/bin:${PATH}" LD_LIBRARY_PATH="${BUILD_DIR}/lib" cmake_src_test +}