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

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

llvm-svn: 361114
This commit is contained in:
Michal Gorny 2019-05-19 06:05:31 +00:00
parent cb4b3e5cb4
commit 6f356784be
2 changed files with 5 additions and 1 deletions

View File

@ -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
CHECK: main

View File

@ -96,3 +96,6 @@ if 'native' in config.available_features:
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')