Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/lldb/
Date: Wed, 02 Nov 2016 23:01:44
Message-Id: 1478127695.68d84b27b18735869e8a405d261f0aa8a23dd98b.mgorny@gentoo
1 commit: 68d84b27b18735869e8a405d261f0aa8a23dd98b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 2 22:42:58 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 2 23:01:35 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68d84b27
7
8 dev-util/lldb: Run Python tests when available
9
10 dev-util/lldb/lldb-9999.ebuild | 5 ++++-
11 1 file changed, 4 insertions(+), 1 deletion(-)
12
13 diff --git a/dev-util/lldb/lldb-9999.ebuild b/dev-util/lldb/lldb-9999.ebuild
14 index 070e60d..bbe9da8 100644
15 --- a/dev-util/lldb/lldb-9999.ebuild
16 +++ b/dev-util/lldb/lldb-9999.ebuild
17 @@ -64,9 +64,11 @@ src_configure() {
18 -DLLDB_DISABLE_PYTHON=$(usex !python)
19 -DLLVM_ENABLE_TERMINFO=$(usex ncurses)
20
21 - # compilers for tests
22 + # compilers for lit tests
23 -DLLDB_TEST_C_COMPILER="${EPREFIX}/usr/bin/clang"
24 -DLLDB_TEST_CXX_COMPILER="${EPREFIX}/usr/bin/clang++"
25 + # compiler for ole' python tests
26 + -DLLDB_TEST_COMPILER="${EPREFIX}/usr/bin/clang"
27
28 # TODO: fix upstream to detect this properly
29 -DHAVE_LIBDL=ON
30 @@ -88,6 +90,7 @@ src_configure() {
31
32 src_test() {
33 cmake-utils_src_make check-lldb-lit
34 + use python && cmake-utils_src_make check-lldb
35 }
36
37 src_install() {