[Lldb-commits] [lldb] 69b2d9f - [lldb/Test] Skip recognizer tests when Python is disabled

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 30 08:59:51 PDT 2020


Author: Jonas Devlieghere
Date: 2020-06-30T08:59:44-07:00
New Revision: 69b2d9f42f6adbd0c06264dc42b4be5760689eac

URL: https://github.com/llvm/llvm-project/commit/69b2d9f42f6adbd0c06264dc42b4be5760689eac
DIFF: https://github.com/llvm/llvm-project/commit/69b2d9f42f6adbd0c06264dc42b4be5760689eac.diff

LOG: [lldb/Test] Skip recognizer tests when Python is disabled

The `frame recognizer` command only exists when Python scripting is
enabled. Therefore the test should be made conditional on Python.
Without it, the test fails with "'frame recognizer' is not a known
command."

Added: 
    lldb/test/Shell/Recognizer/lit.local.cfg

Modified: 
    

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/Recognizer/lit.local.cfg b/lldb/test/Shell/Recognizer/lit.local.cfg
new file mode 100644
index 000000000000..945a5615c421
--- /dev/null
+++ b/lldb/test/Shell/Recognizer/lit.local.cfg
@@ -0,0 +1,2 @@
+if 'python' not in config.available_features:
+  config.unsupported = True


        


More information about the lldb-commits mailing list