Home
last modified time | relevance | path

Searched refs:testfile (Results 1 – 7 of 7) sorted by relevance

/wasmtime-44.0.1/cranelift/filetests/src/
H A Drunone.rs40 let testfile = match parse_test(&buffer, options) { in run() localVariable
41 Ok(testfile) => testfile, in run()
56 if testfile.functions.is_empty() { in run()
61 let mut tests = testfile in run()
69 let flags = match testfile.isa_spec { in run()
79 let tuples = test_tuples(&tests, &testfile.isa_spec, flags)?; in run()
92 verify_testfile(&testfile, fisa)?; in run()
95 test.run_target(&testfile, &mut file_update, file_path.as_ref(), flags, *isa)?; in run()
102 fn verify_testfile(testfile: &TestFile, fisa: FlagsOrIsa) -> anyhow::Result<()> { in verify_testfile()
103 for (func, _) in &testfile.functions { in verify_testfile()
H A Dtest_run.rs146 testfile: &TestFile, in compile_testfile()
172 tfc.add_testfile(testfile)?; in compile_testfile()
177 testfile: &CompiledTestFile, in run_test()
193 let trampoline = testfile.get_trampoline(func).unwrap(); in run_test()
194 Ok(trampoline.call(&testfile, &args)) in run_test()
219 testfile: &TestFile, in run_target()
244 let compiled_testfile = compile_testfile(&testfile, flags, isa.unwrap())?; in run_target()
246 for (func, details) in &testfile.functions { in run_target()
255 preamble_comments: &testfile.preamble_comments, in run_target()
H A Dtest_interpret.rs49 testfile: &TestFile, in run_target()
57 for (func, _) in &testfile.functions { in run_target()
61 for (func, details) in &testfile.functions { in run_target()
H A Dsubtest.rs78 testfile: &TestFile, in run_target()
84 for (func, details) in &testfile.functions { in run_target()
93 preamble_comments: &testfile.preamble_comments, in run_target()
H A Dfunction_runner.rs171 pub fn add_testfile(&mut self, testfile: &TestFile) -> Result<()> { in add_testfile()
172 let functions = testfile in add_testfile()
/wasmtime-44.0.1/cranelift/reader/src/
H A Dlib.rs14 pub use crate::testfile::{Comment, Details, Feature, TestFile};
23 mod testfile; module
H A Dparser.rs9 use crate::testfile::{Comment, Details, Feature, TestFile};