Home
last modified time | relevance | path

Searched refs:TestCommand (Results 1 – 18 of 18) sorted by relevance

/wasmtime-44.0.1/cranelift/reader/src/
H A Dtestcommand.rs19 pub struct TestCommand<'a> { struct
35 impl<'a> TestCommand<'a> { argument
51 impl<'a> Display for TestCommand<'a> { implementation
94 assert_eq!(&TestCommand::new("").to_string(), "\n"); in parse_command()
95 assert_eq!(&TestCommand::new("cat").to_string(), "cat\n"); in parse_command()
96 assert_eq!(&TestCommand::new("cat ").to_string(), "cat\n"); in parse_command()
97 assert_eq!(&TestCommand::new("cat 1 ").to_string(), "cat 1\n"); in parse_command()
99 &TestCommand::new("cat one=4 two t").to_string(), in parse_command()
H A Dtestfile.rs10 use crate::testcommand::TestCommand;
20 pub commands: Vec<TestCommand<'a>>,
H A Dlib.rs13 pub use crate::testcommand::{TestCommand, TestOption};
H A Dparser.rs8 use crate::testcommand::TestCommand;
133 let commands: Vec<TestCommand<'a>>; in parse_test()
991 pub fn parse_cmdline_passes(&mut self, passes: &'a [String]) -> Vec<TestCommand<'a>> { in parse_cmdline_passes()
994 list.push(TestCommand::new(pass)); in parse_cmdline_passes()
1000 pub fn parse_test_commands(&mut self) -> Vec<TestCommand<'a>> { in parse_test_commands()
1003 list.push(TestCommand::new(self.consume_line())); in parse_test_commands()
/wasmtime-44.0.1/cranelift/filetests/src/
H A Dtest_cat.rs5 use cranelift_reader::TestCommand;
16 pub fn subtest(parsed: &TestCommand) -> anyhow::Result<Box<dyn SubTest>> { in subtest()
H A Dtest_print_cfg.rs11 use cranelift_reader::TestCommand;
16 pub fn subtest(parsed: &TestCommand) -> anyhow::Result<Box<dyn SubTest>> { in subtest()
H A Dtest_alias_analysis.rs11 use cranelift_reader::TestCommand;
16 pub fn subtest(parsed: &TestCommand) -> anyhow::Result<Box<dyn SubTest>> { in subtest()
H A Dtest_legalizer.rs8 use cranelift_reader::TestCommand;
13 pub fn subtest(parsed: &TestCommand) -> anyhow::Result<Box<dyn SubTest>> { in subtest()
H A Dtest_safepoint.rs3 use cranelift_reader::TestCommand;
8 pub fn subtest(parsed: &TestCommand) -> anyhow::Result<Box<dyn SubTest>> { in subtest()
H A Dtest_optimize.rs14 use cranelift_reader::{TestCommand, TestOption};
25 pub fn subtest(parsed: &TestCommand) -> Result<Box<dyn SubTest>> { in subtest()
H A Dtest_verifier.rs16 use cranelift_reader::TestCommand;
22 pub fn subtest(parsed: &TestCommand) -> anyhow::Result<Box<dyn SubTest>> { in subtest()
H A Dlib.rs10 use cranelift_reader::TestCommand;
87 fn new_subtest(parsed: &TestCommand) -> anyhow::Result<Box<dyn subtest::SubTest>> { in new_subtest()
H A Dtest_compile.rs8 use cranelift_reader::{TestCommand, TestOption};
22 pub fn subtest(parsed: &TestCommand) -> Result<Box<dyn SubTest>> { in subtest()
H A Dtest_domtree.rs21 use cranelift_reader::TestCommand;
28 pub fn subtest(parsed: &TestCommand) -> anyhow::Result<Box<dyn SubTest>> { in subtest()
H A Dtest_interpret.rs17 use cranelift_reader::{Details, TestCommand, TestFile, parse_run_command};
24 pub fn subtest(parsed: &TestCommand) -> anyhow::Result<Box<dyn SubTest>> { in subtest()
H A Dtest_inline.rs19 use cranelift_reader::{TestCommand, TestOption};
43 pub fn subtest(parsed: &TestCommand) -> Result<Box<dyn SubTest>> { in subtest()
H A Dtest_run.rs14 use cranelift_reader::TestCommand;
22 pub fn subtest(parsed: &TestCommand) -> anyhow::Result<Box<dyn SubTest>> { in subtest()
H A Dtest_unwind.rs7 use cranelift_reader::TestCommand;
16 pub fn subtest(parsed: &TestCommand) -> anyhow::Result<Box<dyn SubTest>> { in subtest()