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')