summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-11-02 23:42:58 +0100
committerMichał Górny <mgorny@gentoo.org>2016-11-03 00:01:35 +0100
commit68d84b27b18735869e8a405d261f0aa8a23dd98b (patch)
tree6639f2039d1060ec95e21abb730fa49aa0e2edb8 /dev-util/lldb
parentdev-util/creduce: Add a live ebuild (diff)
downloadgentoo-68d84b27b18735869e8a405d261f0aa8a23dd98b.tar.gz
gentoo-68d84b27b18735869e8a405d261f0aa8a23dd98b.tar.bz2
gentoo-68d84b27b18735869e8a405d261f0aa8a23dd98b.zip
dev-util/lldb: Run Python tests when available
Diffstat (limited to 'dev-util/lldb')
-rw-r--r--dev-util/lldb/lldb-9999.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-util/lldb/lldb-9999.ebuild b/dev-util/lldb/lldb-9999.ebuild
index 070e60da5ba6..bbe9da899810 100644
--- a/dev-util/lldb/lldb-9999.ebuild
+++ b/dev-util/lldb/lldb-9999.ebuild
@@ -64,9 +64,11 @@ src_configure() {
-DLLDB_DISABLE_PYTHON=$(usex !python)
-DLLVM_ENABLE_TERMINFO=$(usex ncurses)
- # compilers for tests
+ # compilers for lit tests
-DLLDB_TEST_C_COMPILER="${EPREFIX}/usr/bin/clang"
-DLLDB_TEST_CXX_COMPILER="${EPREFIX}/usr/bin/clang++"
+ # compiler for ole' python tests
+ -DLLDB_TEST_COMPILER="${EPREFIX}/usr/bin/clang"
# TODO: fix upstream to detect this properly
-DHAVE_LIBDL=ON
@@ -88,6 +90,7 @@ src_configure() {
src_test() {
cmake-utils_src_make check-lldb-lit
+ use python && cmake-utils_src_make check-lldb
}
src_install() {