summaryrefslogtreecommitdiffstats
path: root/lldb/lit/Commands/command-script-import.test
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/lit/Commands/command-script-import.test')
-rw-r--r--lldb/lit/Commands/command-script-import.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/lit/Commands/command-script-import.test b/lldb/lit/Commands/command-script-import.test
new file mode 100644
index 00000000000..318b4f43540
--- /dev/null
+++ b/lldb/lit/Commands/command-script-import.test
@@ -0,0 +1,8 @@
+# RUN: echo 'b main' > %t.in
+# RUN: echo 'run' >> %t.in
+# RUN: echo 'command script import %S/Inputs/frame.py' >> %t.in
+
+# RUN: %clang -g -O0 %S/../Settings/Inputs/main.c -o %t.out
+# RUN: %lldb -b -s %t.in %t.out | FileCheck %s
+
+# CHECK: frame #0
OpenPOWER on IntegriCloud