unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux`
()
| 21 | #[mz_ore::test] |
| 22 | #[cfg_attr(miri, ignore)] // unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux` |
| 23 | fn test_parser() { |
| 24 | walk("../sql-parser/tests/testdata", |f| { |
| 25 | f.run(|tc| -> String { |
| 26 | match tc.directive.as_str() { |
| 27 | "parse-statement" => { |
| 28 | verify_pretty_statement(&tc.input); |
| 29 | } |
| 30 | "parse-scalar" => { |
| 31 | verify_pretty_expr(&tc.input); |
| 32 | } |
| 33 | _ => {} |
| 34 | } |
| 35 | datadriven_testcase(tc) |
| 36 | }) |
| 37 | }); |
| 38 | } |
| 39 | |
| 40 | fn verify_pretty_expr(expr: &str) { |
| 41 | let Ok(original) = parse_expr(expr) else { |
nothing calls this directly
no test coverage detected