Lines Matching refs:executor
8 executor::Executor,
33 let executor = Executor::new(
39 assert!(executor.is_ok(), "Create executor error: {:?}", executor);
41 let executor = executor.unwrap();
42 return executor;
53 let mut executor = setup_executor(config_file_path, ctx);
55 let r = executor.prepare_local_env();
57 assert_ne!(executor.local_envs.envs.len(), 0);
59 assert!(executor.local_envs.get("DADK_CURRENT_BUILD_DIR").is_some());
60 assert!(executor.local_envs.get("CC").is_some());
61 assert_eq!(executor.local_envs.get("CC").unwrap().value, "abc-gcc");
63 let x = executor.execute();
75 let mut executor = setup_executor(config_file_path, ctx);
77 let r = executor.prepare_local_env();
79 assert_ne!(executor.local_envs.envs.len(), 0);
81 assert!(executor.local_envs.get("DADK_CURRENT_BUILD_DIR").is_some());
82 assert!(executor.local_envs.get("CC").is_some());
83 assert_eq!(executor.local_envs.get("CC").unwrap().value, "abc-gcc1");
85 let x = executor.execute();