()
| 207 | #[test] |
| 208 | #[ignore] |
| 209 | fn guest_debug_cli_fib_step() -> Result<()> { |
| 210 | let port = free_port(); |
| 211 | let mut wt = WasmtimeWithGdbstub::spawn( |
| 212 | "run", |
| 213 | port, |
| 214 | &["-Ccache=n", GUEST_DEBUG_FIB], |
| 215 | Duration::from_secs(30), |
| 216 | )?; |
| 217 | |
| 218 | let output = lldb_with_gdbstub_script( |
| 219 | port, |
| 220 | r#" |
| 221 | b fib |
| 222 | c |
| 223 | n |
| 224 | n |
| 225 | n |
| 226 | fr v |
| 227 | c |
| 228 | "#, |
| 229 | )?; |
| 230 | wt.child.kill().ok(); |
| 231 | wt.child.wait()?; |
| 232 | |
| 233 | check_output( |
| 234 | &output, |
| 235 | r#" |
| 236 | check: stop reason |
| 237 | check: fib |
| 238 | "#, |
| 239 | )?; |
| 240 | Ok(()) |
| 241 | } |
| 242 | |
| 243 | /// Helper: send an HTTP/1.0 request and return the full response. |
| 244 | fn http_request(addr: SocketAddr, path: &str) -> Result<String> { |
nothing calls this directly
no test coverage detected