1- use aptos:: common:: types:: MovePackageDir ;
1+ use aptos:: common:: types:: MovePackageOptions ;
22use log:: info;
33use move_model:: metadata:: { CompilerVersion , LanguageVersion } ;
44use move_mutation_test:: {
@@ -21,22 +21,22 @@ fn test_run_mutation_test(path: &Path, expected_report: String) -> datatest_stab
2121 Report :: load_from_str ( expected_report) . expect ( "failed to load the report" ) ;
2222 let package_path = path. parent ( ) . expect ( "package path not found" ) ;
2323
24- let mut move_pkg = MovePackageDir :: new ( ) ;
25- move_pkg . package_dir = Some ( PathBuf :: from ( package_path) ) ;
24+ let mut move_options = MovePackageOptions :: new ( ) ;
25+ move_options . package_dir = Some ( PathBuf :: from ( package_path) ) ;
2626 // Run the tests with move 2 compiler by default.
27- move_pkg. move_2 = true ;
28- move_pkg. language_version = Some ( LanguageVersion :: latest_stable ( ) ) ;
29- move_pkg. compiler_version = Some ( CompilerVersion :: latest_stable ( ) ) ;
27+ move_options. language_version = Some ( LanguageVersion :: latest_stable ( ) ) ;
28+ move_options. compiler_version = Some ( CompilerVersion :: latest_stable ( ) ) ;
3029
3130 let test_build_cfg = TestBuildConfig {
32- move_pkg ,
31+ move_options ,
3332 dump_state : false ,
3433 filter : None ,
3534 ignore_compile_warnings : false ,
3635 // TODO(rqnsom): maybe we could set it to true, but it would require `aptos` command in
3736 // the `build.rs` - using `process::Command` slowed down the execution a lot
38- apply_coverage : false ,
37+ compute_coverage : false ,
3938 gas_limit : 2000 ,
39+ instruction_execution_bound : Default :: default ( ) ,
4040 } ;
4141
4242 let report_file = PathBuf :: from ( "report.txt" ) ;
0 commit comments