diff options
Diffstat (limited to 'lit/tools/lldb-mi/exec')
-rw-r--r-- | lit/tools/lldb-mi/exec/exec-continue.test | 17 | ||||
-rw-r--r-- | lit/tools/lldb-mi/exec/exec-finish.test | 30 | ||||
-rw-r--r-- | lit/tools/lldb-mi/exec/exec-interrupt.test | 17 | ||||
-rw-r--r-- | lit/tools/lldb-mi/exec/exec-next-instruction.test | 27 | ||||
-rw-r--r-- | lit/tools/lldb-mi/exec/exec-next.test | 27 | ||||
-rw-r--r-- | lit/tools/lldb-mi/exec/exec-run-wrong-binary.test | 6 | ||||
-rw-r--r-- | lit/tools/lldb-mi/exec/exec-step-instruction.test | 27 | ||||
-rw-r--r-- | lit/tools/lldb-mi/exec/exec-step.test | 27 | ||||
-rw-r--r-- | lit/tools/lldb-mi/exec/inputs/main.c | 9 | ||||
-rw-r--r-- | lit/tools/lldb-mi/exec/lit.local.cfg | 1 |
10 files changed, 0 insertions, 188 deletions
diff --git a/lit/tools/lldb-mi/exec/exec-continue.test b/lit/tools/lldb-mi/exec/exec-continue.test deleted file mode 100644 index d51393e5c716..000000000000 --- a/lit/tools/lldb-mi/exec/exec-continue.test +++ /dev/null @@ -1,17 +0,0 @@ -# RUN: %build %p/inputs/main.c --nodefaultlib -o %t -# RUN: %lldbmi %t < %s | FileCheck %s - -# Test lldb-mi -exec-continue command. - -# Check that we have a valid target created via '%lldbmi %t'. -# CHECK: ^done - --break-insert main -# CHECK: ^done,bkpt={number="1" - --exec-run -# CHECK: ^running -# CHECK: *stopped,reason="breakpoint-hit" - --exec-continue -# CHECK: ^running diff --git a/lit/tools/lldb-mi/exec/exec-finish.test b/lit/tools/lldb-mi/exec/exec-finish.test deleted file mode 100644 index b2a50c5267fd..000000000000 --- a/lit/tools/lldb-mi/exec/exec-finish.test +++ /dev/null @@ -1,30 +0,0 @@ -# RUN: %build %p/inputs/main.c -o %t -# RUN: %lldbmi %t < %s | FileCheck %s - -# Test lldb-mi -exec-finish command. - -# Check that we have a valid target created via '%lldbmi %t'. -# CHECK: ^done - --break-insert main -# CHECK: ^done,bkpt={number="1" - --break-insert dummyFunction -# CHECK: ^done,bkpt={number="2" - --exec-run -# CHECK: ^running -# CHECK: *stopped,reason="breakpoint-hit" - --exec-finish --thread 0 -# Check that exec-finish can process the case of invalid thread ID. -# CHECK: ^error,msg="Command 'exec-finish'. Thread ID invalid" - --exec-finish --thread 1 -# CHECK: ^running -# CHECK: *stopped,reason="breakpoint-hit" - --exec-finish -# Check exec-finish in a selected thread. -# CHECK: ^running -# CHECK: *stopped,reason="end-stepping-range" diff --git a/lit/tools/lldb-mi/exec/exec-interrupt.test b/lit/tools/lldb-mi/exec/exec-interrupt.test deleted file mode 100644 index 2c063236d7f5..000000000000 --- a/lit/tools/lldb-mi/exec/exec-interrupt.test +++ /dev/null @@ -1,17 +0,0 @@ -# RUN: %build %p/inputs/main.c --nodefaultlib -o %t -# RUN: %lldbmi %t < %s | FileCheck %s - -# Test lldb-mi -exec-interrupt command. - -# Check that we have a valid target created via '%lldbmi %t'. -# CHECK: ^done - --break-insert main -# CHECK: ^done,bkpt={number="1" - --exec-run -# CHECK: ^running -# CHECK: *stopped,reason="breakpoint-hit" - --exec-interrupt -# CHECK: ^error,msg="Process is not running." diff --git a/lit/tools/lldb-mi/exec/exec-next-instruction.test b/lit/tools/lldb-mi/exec/exec-next-instruction.test deleted file mode 100644 index abd4e526375f..000000000000 --- a/lit/tools/lldb-mi/exec/exec-next-instruction.test +++ /dev/null @@ -1,27 +0,0 @@ -# RUN: %build %p/inputs/main.c --nodefaultlib -o %t -# RUN: %lldbmi %t < %s | FileCheck %s - -# Test lldb-mi -exec-next-instruction command. - -# Check that we have a valid target created via '%lldbmi %t'. -# CHECK: ^done - --break-insert main -# CHECK: ^done,bkpt={number="1" - --exec-run -# CHECK: ^running -# CHECK: *stopped,reason="breakpoint-hit" - --exec-next-instruction --thread 0 -# Check that exec-next-instruction can process the case of invalid thread ID. -# CHECK: ^error,msg="Command 'exec-next-instruction'. Thread ID invalid" - --exec-next-instruction --thread 1 -# CHECK: ^running -# CHECK: *stopped,reason="end-stepping-range" - --exec-next-instruction -# Check exec-next-instruction in a selected thread. -# CHECK: ^running -# CHECK: *stopped,reason="end-stepping-range" diff --git a/lit/tools/lldb-mi/exec/exec-next.test b/lit/tools/lldb-mi/exec/exec-next.test deleted file mode 100644 index 87d9d44bb582..000000000000 --- a/lit/tools/lldb-mi/exec/exec-next.test +++ /dev/null @@ -1,27 +0,0 @@ -# RUN: %build %p/inputs/main.c --nodefaultlib -o %t -# RUN: %lldbmi %t < %s | FileCheck %s - -# Test lldb-mi -exec-next command. - -# Check that we have a valid target created via '%lldbmi %t'. -# CHECK: ^done - --break-insert main -# CHECK: ^done,bkpt={number="1" - --exec-run -# CHECK: ^running -# CHECK: *stopped,reason="breakpoint-hit" - --exec-next --thread 0 -# Check that exec-next can process the case of invalid thread ID. -# CHECK: ^error,msg="Command 'exec-next'. Thread ID invalid" - --exec-next --thread 1 -# CHECK: ^running -# CHECK: *stopped,reason="end-stepping-range" - --exec-next -# Check that exec-next can step over in a selected thread. -# CHECK: ^running -# CHECK: *stopped,reason="end-stepping-range" diff --git a/lit/tools/lldb-mi/exec/exec-run-wrong-binary.test b/lit/tools/lldb-mi/exec/exec-run-wrong-binary.test deleted file mode 100644 index 98dc75f509cd..000000000000 --- a/lit/tools/lldb-mi/exec/exec-run-wrong-binary.test +++ /dev/null @@ -1,6 +0,0 @@ -# RUN: %lldbmi < %s | FileCheck %s - -# Test that -exec-run command won't hang in case of wrong name of binary file. - --file-exec-and-symbols name.exe -# CHECK: ^error,msg="Command 'file-exec-and-symbols'. Target binary 'name.exe' is invalid. diff --git a/lit/tools/lldb-mi/exec/exec-step-instruction.test b/lit/tools/lldb-mi/exec/exec-step-instruction.test deleted file mode 100644 index 0613fb5c7934..000000000000 --- a/lit/tools/lldb-mi/exec/exec-step-instruction.test +++ /dev/null @@ -1,27 +0,0 @@ -# RUN: %build %p/inputs/main.c --nodefaultlib -o %t -# RUN: %lldbmi %t < %s | FileCheck %s - -# Test lldb-mi -exec-step-instruction command. - -# Check that we have a valid target created via '%lldbmi %t'. -# CHECK: ^done - --break-insert main -# CHECK: ^done,bkpt={number="1" - --exec-run -# CHECK: ^running -# CHECK: *stopped,reason="breakpoint-hit" - --exec-step-instruction --thread 0 -# Check that exec-step-instruction can process the case of invalid thread ID. -# CHECK: ^error,msg="Command 'exec-step-instruction'. Thread ID invalid" - --exec-next-instruction --thread 1 -# CHECK: ^running -# CHECK: *stopped,reason="end-stepping-range" - --exec-step-instruction -# Check exec-step-instruction in a selected thread. -# CHECK: ^running -# CHECK: *stopped,reason="end-stepping-range" diff --git a/lit/tools/lldb-mi/exec/exec-step.test b/lit/tools/lldb-mi/exec/exec-step.test deleted file mode 100644 index 976afb33bcd4..000000000000 --- a/lit/tools/lldb-mi/exec/exec-step.test +++ /dev/null @@ -1,27 +0,0 @@ -# RUN: %build %p/inputs/main.c --nodefaultlib -o %t -# RUN: %lldbmi %t < %s | FileCheck %s - -# Test lldb-mi -exec-step command. - -# Check that we have a valid target created via '%lldbmi %t'. -# CHECK: ^done - --break-insert main -# CHECK: ^done,bkpt={number="1" - --exec-run -# CHECK: ^running -# CHECK: *stopped,reason="breakpoint-hit" - --exec-step --thread 0 -# Check that exec-step can process the case of invalid thread ID. -# CHECK: ^error,msg="Command 'exec-step'. Thread ID invalid" - --exec-step --thread 1 -# CHECK: ^running -# CHECK: *stopped,reason="end-stepping-range" - --exec-step -# Check that exec-step can step-in in a selected thread. -# CHECK: ^running -# CHECK: *stopped,reason="end-stepping-range" diff --git a/lit/tools/lldb-mi/exec/inputs/main.c b/lit/tools/lldb-mi/exec/inputs/main.c deleted file mode 100644 index b9d8f9d16f4d..000000000000 --- a/lit/tools/lldb-mi/exec/inputs/main.c +++ /dev/null @@ -1,9 +0,0 @@ -void dummyFunction() { - int a = 0; -} - -int main(void) { - int x = 0; - dummyFunction(); - return x; -} diff --git a/lit/tools/lldb-mi/exec/lit.local.cfg b/lit/tools/lldb-mi/exec/lit.local.cfg deleted file mode 100644 index df9b335dd131..000000000000 --- a/lit/tools/lldb-mi/exec/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.test'] |