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')
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')
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits