MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / run_roundtrip_tests

Function run_roundtrip_tests

src/expr-parser/tests/test_mir_parser.rs:14–26  ·  view source on GitHub ↗

error: unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux`

()

Source from the content-addressed store, hash-verified

12#[mz_ore::test]
13#[cfg_attr(miri, ignore)] // error: unsupported operation: can't call foreign function `rust_psm_stack_pointer` on OS `linux`
14fn run_roundtrip_tests() {
15 // Interpret datadriven tests.
16 datadriven::walk("tests/test_mir_parser", |f| {
17 let mut catalog = TestCatalog::default();
18 f.run(|test_case| -> String {
19 match test_case.directive.as_str() {
20 "define" => handle_define(&mut catalog, &test_case.input),
21 "roundtrip" => handle_roundtrip(&catalog, &test_case.input),
22 _ => format!("unknown directive: {}", test_case.directive),
23 }
24 })
25 });
26}

Callers

nothing calls this directly

Calls 5

handle_defineFunction · 0.85
handle_roundtripFunction · 0.85
walkFunction · 0.50
runMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected