diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-18 15:41:07 -0800 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-18 15:44:07 -0800 |
| commit | 48999eb398ebec72fdf7194f5d2605dd3c799caf (patch) | |
| tree | 048efd993fc6fb36af4bb5222de3f069ed86991b | |
| parent | 71eb8023d85e5201d32ea24194ec5bc07db23527 (diff) | |
| download | bcm5719-llvm-48999eb398ebec72fdf7194f5d2605dd3c799caf.tar.gz bcm5719-llvm-48999eb398ebec72fdf7194f5d2605dd3c799caf.zip | |
[lldb/test] Move script interpreter tests
Create a new test for lldb launched without a script interpreter and
move it under a new `ScriptInterpreter` directory. Also move
crashlog.test there for consistency.
| -rw-r--r-- | lldb/test/Shell/ScriptInterpreter/None/none.test | 2 | ||||
| -rw-r--r-- | lldb/test/Shell/ScriptInterpreter/Python/crashlog.test (renamed from lldb/test/Shell/Python/crashlog.test) | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lldb/test/Shell/ScriptInterpreter/None/none.test b/lldb/test/Shell/ScriptInterpreter/None/none.test new file mode 100644 index 00000000000..d6ef8d42873 --- /dev/null +++ b/lldb/test/Shell/ScriptInterpreter/None/none.test @@ -0,0 +1,2 @@ +# RUN: %lldb --script-language none -o 'script' 2>&1 | FileCheck %s +# CHECK: error: the script-lang setting is set to none - scripting not available diff --git a/lldb/test/Shell/Python/crashlog.test b/lldb/test/Shell/ScriptInterpreter/Python/crashlog.test index 37e0e8c5740..047cb80bf2f 100644 --- a/lldb/test/Shell/Python/crashlog.test +++ b/lldb/test/Shell/ScriptInterpreter/Python/crashlog.test @@ -1,7 +1,7 @@ # -*- python -*- # REQUIRES: system-darwin -# DEBUG: cd %S/../../../examples/python && cat %s | %lldb && false -# RUN: cd %S/../../../examples/python && cat %s | %lldb | FileCheck %s +# 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 script import crashlog |

