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


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to