File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
crates/intrinsic-test/src Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -6,20 +6,20 @@ mod intrinsic;
66mod json_parser;
77mod types;
88
9- use crate :: common:: SupportedArchitectureTest ;
109use crate :: common:: compare:: compare_outputs;
1110use crate :: common:: types:: ProcessedCli ;
11+ use crate :: common:: SupportedArchitectureTest ;
1212use functions:: { build_c, build_rust} ;
1313use intrinsic:: Intrinsic ;
1414use json_parser:: get_neon_intrinsics;
1515use types:: TypeKind ;
1616
17- pub struct ArmTestProcessor {
17+ pub struct ArmArchitectureTest {
1818 intrinsics : Vec < Intrinsic > ,
1919 cli_options : ProcessedCli ,
2020}
2121
22- impl SupportedArchitectureTest for ArmTestProcessor {
22+ impl SupportedArchitectureTest for ArmArchitectureTest {
2323 fn create ( cli_options : ProcessedCli ) -> Self {
2424 let a32 = cli_options. target . contains ( "v7" ) ;
2525 let mut intrinsics =
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ extern crate log;
55mod arm;
66mod common;
77
8- use arm:: ArmTestProcessor ;
9- use common:: SupportedArchitectureTest ;
8+ use arm:: ArmArchitectureTest ;
109use common:: types:: { Cli , ProcessedCli } ;
10+ use common:: SupportedArchitectureTest ;
1111
1212fn main ( ) {
1313 pretty_env_logger:: init ( ) ;
@@ -17,7 +17,9 @@ fn main() {
1717 let test_environment_result = match processed_cli_options. target . as_str ( ) {
1818 "aarch64-unknown-linux-gnu"
1919 | "armv7-unknown-linux-gnueabihf"
20- | "aarch64_be-unknown-linux-gnu" => Some ( ArmTestProcessor :: create ( processed_cli_options) ) ,
20+ | "aarch64_be-unknown-linux-gnu" => {
21+ Some ( ArmArchitectureTest :: create ( processed_cli_options) )
22+ }
2123
2224 _ => None ,
2325 } ;
You can’t perform that action at this time.
0 commit comments