()
| 52 | #[test] |
| 53 | #[ignore] |
| 54 | fn test_debug_dwarf_gdb() -> Result<()> { |
| 55 | let output = gdb_with_script( |
| 56 | &[ |
| 57 | "-Ccache=n", |
| 58 | "-Ddebug-info", |
| 59 | "-Oopt-level=0", |
| 60 | "--invoke", |
| 61 | "fib", |
| 62 | test_programs_artifacts::DWARF_FIB_WASM, |
| 63 | "3", |
| 64 | ], |
| 65 | r#"set breakpoint pending on |
| 66 | b fib |
| 67 | r |
| 68 | info locals |
| 69 | c"#, |
| 70 | )?; |
| 71 | |
| 72 | check_gdb_output( |
| 73 | &output, |
| 74 | r#" |
| 75 | check: Breakpoint 1 (fib) pending |
| 76 | check: hit Breakpoint 1 |
| 77 | sameln: fib (n=3) |
| 78 | check: a = 0 |
| 79 | check: b = 0 |
| 80 | check: exited normally |
| 81 | "#, |
| 82 | )?; |
| 83 | Ok(()) |
| 84 | } |
nothing calls this directly
no test coverage detected