File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -109,9 +109,11 @@ pub mod zombienet {
109109
110110 #[ derive( Debug , Args ) ]
111111 pub struct Params {
112- /// If the test is executed in CI
112+ /// By default, binary paths are extracted using the `cargo metadata` command under the key `target_directory`.
113+ ///
114+ /// To disable this behavior and manually add all binaries to the path, you need to specify this flag
113115 #[ clap( long, default_value = "false" ) ]
114- pub ci : bool ,
116+ pub no_infer_bin_path : bool ,
115117
116118 #[ clap( flatten) ]
117119 pub build : BuildParams ,
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ async fn test_procedure(params: test::Params) -> anyhow::Result<()> {
5555
5656async fn zombienet ( params : crate :: cli:: zombienet:: Params ) -> anyhow:: Result < ( ) > {
5757 let project_path = obtain_project_path ( ) ?;
58+ init_env ( & project_path, params. no_infer_bin_path ) ?;
5859 build:: build ( & project_path, params. build ) . await ?;
5960 let _zombienet = zombienet:: Zombienet :: try_new ( & project_path, params. zombienet ) . await ?;
6061 wait_interrupt ( ) . await ??;
You can’t perform that action at this time.
0 commit comments