Author: Jonas Devlieghere Date: 2020-01-22T15:22:25-08:00 New Revision: 6ae61f7675d65e767662873e87de088b0ae2dc3e
URL: https://github.com/llvm/llvm-project/commit/6ae61f7675d65e767662873e87de088b0ae2dc3e DIFF: https://github.com/llvm/llvm-project/commit/6ae61f7675d65e767662873e87de088b0ae2dc3e.diff LOG: [lldb/Test] Skip script interpreter tests reading from stdin for lldb-repro The reproducers currently only shadow the command interpreter. It would be possible to make it work for the Lua interpreter which uses the IOHandlerEditline under the hood, but the Python one runs a REPL in Python itself so there's no (straightforward) way to shadow that. Given that we already capture any API calls, this isn't super high on my list of priorities. Added: Modified: lldb/test/Shell/ScriptInterpreter/Lua/bindings.test lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test lldb/test/Shell/ScriptInterpreter/Python/crashlog.test lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test Removed: ################################################################################ diff --git a/lldb/test/Shell/ScriptInterpreter/Lua/bindings.test b/lldb/test/Shell/ScriptInterpreter/Lua/bindings.test index aeafbecaa83f..db0df1694e9e 100644 --- a/lldb/test/Shell/ScriptInterpreter/Lua/bindings.test +++ b/lldb/test/Shell/ScriptInterpreter/Lua/bindings.test @@ -1,4 +1,6 @@ # REQUIRES: lua +# UNSUPPORTED: lldb-repro +# # RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s script debugger = lldb.SBDebugger.Create() diff --git a/lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test b/lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test index e962fc7f5ec7..1b26bd0e2ead 100644 --- a/lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test +++ b/lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test @@ -1,4 +1,5 @@ # REQUIRES: lua +# UNSUPPORTED: lldb-repro # # This tests that the convenience variables are not nil. Given that there is no # target we only expect the debugger to be valid. diff --git a/lldb/test/Shell/ScriptInterpreter/Python/crashlog.test b/lldb/test/Shell/ScriptInterpreter/Python/crashlog.test index 047cb80bf2f7..293d34514fdc 100644 --- a/lldb/test/Shell/ScriptInterpreter/Python/crashlog.test +++ b/lldb/test/Shell/ScriptInterpreter/Python/crashlog.test @@ -1,5 +1,6 @@ # -*- python -*- # REQUIRES: system-darwin +# UNSUPPORTED: lldb-repro # DEBUG: cd %S/../../../../examples/python && cat %s | %lldb && false # RUN: cd %S/../../../../examples/python && cat %s | %lldb | FileCheck %s # CHECK-LABEL: {{S}}KIP BEYOND CHECKS diff --git a/lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test b/lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test index c49124a22bf0..12fccfe16eff 100644 --- a/lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test +++ b/lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test @@ -1,4 +1,5 @@ # REQUIRES: python +# UNSUPPORTED: lldb-repro # # Test that the scripting language argument to "breakpoint command" is honored # even if the global scripting language is diff erent. _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits