Searched refs:TestOption (Results 1 – 6 of 6) sorted by relevance
| /wasmtime-44.0.1/cranelift/reader/src/ |
| H A D | testcommand.rs | 23 pub options: Vec<TestOption<'a>>, 28 pub enum TestOption<'a> { enum 45 .map(TestOption::new) in new() 61 impl<'a> TestOption<'a> { impl 66 None => TestOption::Flag(s), in new() 72 impl<'a> Display for TestOption<'a> { implementation 75 TestOption::Flag(s) => write!(f, "{s}"), in fmt() 76 TestOption::Value(s, v) => write!(f, "{s}={v}"), in fmt() 87 assert_eq!(TestOption::new(""), TestOption::Flag("")); in parse_option() 88 assert_eq!(TestOption::new("foo"), TestOption::Flag("foo")); in parse_option() [all …]
|
| H A D | isaspec.rs | 10 use crate::testcommand::TestOption; 112 match TestOption::new(opt) { in parse_option() 113 TestOption::Flag(name) => match config.enable(name) { in parse_option() 118 TestOption::Value(name, value) => match config.set(name, value) { in parse_option()
|
| H A D | lib.rs | 13 pub use crate::testcommand::{TestCommand, TestOption};
|
| /wasmtime-44.0.1/cranelift/filetests/src/ |
| H A D | test_compile.rs | 8 use cranelift_reader::{TestCommand, TestOption}; 30 TestOption::Flag("precise-output") => test.precise_output = true, in subtest() 31 TestOption::Flag("expect-fail") => test.expect_fail = true, in subtest()
|
| H A D | test_optimize.rs | 14 use cranelift_reader::{TestCommand, TestOption}; 32 TestOption::Flag("precise-output") => test.precise_output = true, in subtest()
|
| H A D | test_inline.rs | 19 use cranelift_reader::{TestCommand, TestOption}; 48 TestOption::Flag("precise-output") => test.precise_output = true, in subtest() 49 TestOption::Flag("optimize") => test.optimize = true, in subtest()
|