Skip to content

Commit

Permalink
[lldb] [lit] Driver/TestConvenienceVariables.test requires Python
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D62096

llvm-svn: 361114
  • Loading branch information
mgorny authored and MrSidims committed May 24, 2019
1 parent dded834 commit 3eed702
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 @@ -96,3 +96,6 @@ def calculate_arch_features(arch_string):
config.available_features.add('native-cpu-%s' % x)
else:
lit_config.warning("lit-cpuid failed: %s" % err)

if not config.lldb_disable_python:
config.available_features.add('python')

0 comments on commit 3eed702

Please sign in to comment.