[PATCH] D62096: [lldb] [lit] Driver/TestConvenienceVariables.test requires Python
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 18 23:06:36 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL361114: [lldb] [lit] Driver/TestConvenienceVariables.test requires Python (authored by mgorny, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D62096?vs=200136&id=200170#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62096/new/
https://reviews.llvm.org/D62096
Files:
lldb/trunk/lit/Driver/TestConvenienceVariables.test
lldb/trunk/lit/lit.cfg.py
Index: lldb/trunk/lit/Driver/TestConvenienceVariables.test
===================================================================
--- lldb/trunk/lit/Driver/TestConvenienceVariables.test
+++ lldb/trunk/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: script lldb.frame.GetLineEntry().GetFileSpec().GetFilename()
CHECK: hello.c
CHECK: script lldb.frame.GetFunctionName()
-CHECK: main
\ No newline at end of file
+CHECK: main
Index: lldb/trunk/lit/lit.cfg.py
===================================================================
--- lldb/trunk/lit/lit.cfg.py
+++ lldb/trunk/lit/lit.cfg.py
@@ -96,3 +96,6 @@
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')
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62096.200170.patch
Type: text/x-patch
Size: 988 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190519/4a76b98d/attachment.bin>
More information about the llvm-commits
mailing list