diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-22 16:46:01 -0800 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-12-22 16:47:28 -0800 |
| commit | bd5c8d167b7cce3290d755e29623d047c2ad8e3e (patch) | |
| tree | 5886aa1c8e1240b77fc6dbcbfcb60ece5b874c4c /lldb/test/Shell/ScriptInterpreter/None | |
| parent | 2791667d2e3fb8c1f0abaff93fd8caaabb2b00b9 (diff) | |
| download | bcm5719-llvm-bd5c8d167b7cce3290d755e29623d047c2ad8e3e.tar.gz bcm5719-llvm-bd5c8d167b7cce3290d755e29623d047c2ad8e3e.zip | |
[lldb/ScriptInterpreter] Unify error message for command script import
Rather than checking for Python explicitly, let the script interpreter
handle things and print an error if the functionality is not supported.
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/None')
| -rw-r--r-- | lldb/test/Shell/ScriptInterpreter/None/import_module.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/test/Shell/ScriptInterpreter/None/import_module.test b/lldb/test/Shell/ScriptInterpreter/None/import_module.test new file mode 100644 index 00000000000..0af7bfaf24f --- /dev/null +++ b/lldb/test/Shell/ScriptInterpreter/None/import_module.test @@ -0,0 +1,2 @@ +# RUN: %lldb --script-language none -o 'command script import %t' 2>&1 | FileCheck %s +# CHECK: error: module importing failed: This script interpreter does not support importing modules. |

