Skip to content

Commit

Permalink
Merging r361114:
Browse files Browse the repository at this point in the history
------------------------------------------------------------------------
r361114 | mgorny | 2019-05-18 23:05:31 -0700 (Sat, 18 May 2019) | 3 lines

[lldb] [lit] Driver/TestConvenienceVariables.test requires Python

Differential Revision: https://reviews.llvm.org/D62096
------------------------------------------------------------------------

llvm-svn: 364257
  • Loading branch information
tstellar committed Jun 25, 2019
1 parent 464c365 commit d375592
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lldb/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

Expand All @@ -19,4 +20,4 @@ CHECK: 8
CHECK: script lldb.frame.GetLineEntry().GetFileSpec().GetFilename()
CHECK: hello.c
CHECK: script lldb.frame.GetFunctionName()
CHECK: main
CHECK: main
3 changes: 3 additions & 0 deletions lldb/lit/lit.cfg.py
Expand Up @@ -73,3 +73,6 @@ def calculate_arch_features(arch_string):
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')

0 comments on commit d375592

Please sign in to comment.