[K/N] Migrate LLDB test to blackboxtest
This change only introduces a single sample test together with the necessary plumbing for basic LLDB testing. Migrating the rest of the tests over and introducing more complex interop setups will be tackled as a follow-up.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// KIND: STANDALONE_LLDB
|
||||
// LLDB_TRACE: standalone_lldb_stepping.txt
|
||||
import kotlin.test.*
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
var x = 1
|
||||
var y = 2
|
||||
var z = x + y
|
||||
println(z)
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
> b main.kt:6
|
||||
Breakpoint 1: [..]
|
||||
> r
|
||||
Process [..] stopped
|
||||
[..] stop reason = breakpoint 1.1
|
||||
[..] at main.kt:6[..]
|
||||
3 import kotlin.test.*
|
||||
4
|
||||
5 fun main(args: Array<String>) {
|
||||
-> 6 var x = 1
|
||||
7 var y = 2
|
||||
8 var z = x + y
|
||||
9 println(z)
|
||||
> n
|
||||
Process [..] stopped
|
||||
[..] stop reason = step over
|
||||
[..] at main.kt:7[..]
|
||||
> n
|
||||
Process [..] stopped
|
||||
[..] stop reason = step over
|
||||
[..] at main.kt:8[..]
|
||||
> n
|
||||
Process [..] stopped
|
||||
[..] stop reason = step over
|
||||
[..] at main.kt:9[..]
|
||||
> q
|
||||
|
||||
|
||||
Reference in New Issue
Block a user