Searched refs:test_file (Results 1 – 8 of 8) sorted by relevance
| /wasmtime-44.0.1/cranelift/isle/isle/ |
| H A D | build.rs | 27 for test_file in std::fs::read_dir(dir_name).unwrap() { in emit_tests() 28 let test_file = test_file.unwrap().file_name().into_string().unwrap(); in emit_tests() localVariable 29 if !test_file.ends_with(".isle") { in emit_tests() 32 let test_file_base = test_file.replace(".isle", ""); in emit_tests()
|
| /wasmtime-44.0.1/cranelift/src/ |
| H A D | run.rs | 87 let test_file = parse_test(&file_contents, options)?; in run_file_contents() localVariable 88 let isa = create_target_isa(&test_file.isa_spec)?; in run_file_contents() 90 tfc.add_testfile(&test_file)?; in run_file_contents() 93 for (func, Details { comments, .. }) in test_file.functions { in run_file_contents()
|
| H A D | compile.rs | 86 let test_file = parse_test(&buffer, ParseOptions::default()) in handle_module() localVariable 91 let isa = fisa.isa.or(test_file.isa_spec.unique_isa()); in handle_module() 98 for (func, _) in test_file.functions { in handle_module()
|
| H A D | bugpoint.rs | 44 let test_file = parse_test(&buffer, ParseOptions::default()) in run() localVariable 51 } else if let Some(isa) = test_file.isa_spec.unique_isa() { in run() 61 for (func, _) in test_file.functions { in run() 1005 let test_file = parse_test(test_str, ParseOptions::default()).unwrap(); in run_test() localVariable 1009 let isa = test_file.isa_spec.unique_isa().expect("Unknown isa"); in run_test() 1011 for (func, _) in test_file.functions { in run_test()
|
| /wasmtime-44.0.1/benches/ |
| H A D | wasi.rs | 15 let test_file = Path::new("benches/wasi/test.bin"); in bench_wasi() localVariable 16 if !test_file.is_file() { in bench_wasi() 17 let file = File::create(test_file).unwrap(); in bench_wasi()
|
| /wasmtime-44.0.1/cranelift/filetests/src/ |
| H A D | function_runner.rs | 863 let test_file = parse_test(code.as_str(), ParseOptions::default()).unwrap(); in nop() localVariable 864 assert_eq!(1, test_file.functions.len()); in nop() 865 let function = test_file.functions[0].0.clone(); in nop()
|
| /wasmtime-44.0.1/cranelift/docs/ |
| H A D | testing.md | 29 test_file : test_header `function_list`
|
| /wasmtime-44.0.1/cranelift/reader/src/ |
| H A D | parser.rs | 3337 fn test_file() { in test_file() function
|