aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-07-06 15:34:15 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-07-06 15:34:15 +0000
commit92d50def1e23b69110cbf113bb9d965a1e9f8b03 (patch)
tree1f4c26b0a5e9ae4df5272bd130febe0906c57e67
parent89da04f7e8a7bb6826b79d539b009bb657c84482 (diff)
downloadsrc-vendor/lldb-80.tar.gz
src-vendor/lldb-80.zip
Notes
Notes: svn path=/vendor/lldb/dist-release_80/; revision=349787 svn path=/vendor/lldb/lldb-release_801-r366581/; revision=350175; tag=vendor/lldb/lldb-release_801-r366581
-rw-r--r--lit/Driver/TestConvenienceVariables.test3
-rw-r--r--lit/lit.cfg.py3
2 files changed, 5 insertions, 1 deletions
diff --git a/lit/Driver/TestConvenienceVariables.test b/lit/Driver/TestConvenienceVariables.test
index 99536e4c0290..a7b6faa34cb3 100644
--- a/lit/Driver/TestConvenienceVariables.test
+++ b/lit/Driver/TestConvenienceVariables.test
@@ -1,3 +1,4 @@
+REQUIRES: python
RUN: %build %p/Inputs/hello.cpp -o %t
RUN: %lldb %t -s %p/Inputs/convenience.in -o quit | FileCheck %s
@@ -19,4 +20,4 @@ CHECK: 8
CHECK: script lldb.frame.GetLineEntry().GetFileSpec().GetFilename()
CHECK: hello.c
CHECK: script lldb.frame.GetFunctionName()
-CHECK: main \ No newline at end of file
+CHECK: main
diff --git a/lit/lit.cfg.py b/lit/lit.cfg.py
index e1db7621e328..ff4e60e5b4bd 100644
--- a/lit/lit.cfg.py
+++ b/lit/lit.cfg.py
@@ -73,3 +73,6 @@ for i in ['module-cache-clang', 'module-cache-lldb']:
if os.path.isdir(cachedir):
print("Deleting module cache at %s."%cachedir)
shutil.rmtree(cachedir)
+
+if not config.lldb_disable_python:
+ config.available_features.add('python')