[Lldb-commits] [lldb] r361114 - [lldb] [lit] Driver/TestConvenienceVariables.test requires Python
Michal Gorny via lldb-commits
lldb-commits at lists.llvm.org
Sat May 18 23:05:31 PDT 2019
Author: mgorny
Date: Sat May 18 23:05:31 2019
New Revision: 361114
URL: http://llvm.org/viewvc/llvm-project?rev=361114&view=rev
Log:
[lldb] [lit] Driver/TestConvenienceVariables.test requires Python
Differential Revision: https://reviews.llvm.org/D62096
Modified:
lldb/trunk/lit/Driver/TestConvenienceVariables.test
lldb/trunk/lit/lit.cfg.py
Modified: lldb/trunk/lit/Driver/TestConvenienceVariables.test
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/Driver/TestConvenienceVariables.test?rev=361114&r1=361113&r2=361114&view=diff
==============================================================================
--- lldb/trunk/lit/Driver/TestConvenienceVariables.test (original)
+++ lldb/trunk/lit/Driver/TestConvenienceVariables.test Sat May 18 23:05:31 2019
@@ -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
Modified: lldb/trunk/lit/lit.cfg.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/lit.cfg.py?rev=361114&r1=361113&r2=361114&view=diff
==============================================================================
--- lldb/trunk/lit/lit.cfg.py (original)
+++ lldb/trunk/lit/lit.cfg.py Sat May 18 23:05:31 2019
@@ -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')
More information about the lldb-commits
mailing list