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 {
109
109
110
110
#[ derive( Debug , Args ) ]
111
111
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
113
115
#[ clap( long, default_value = "false" ) ]
114
- pub ci : bool ,
116
+ pub no_infer_bin_path : bool ,
115
117
116
118
#[ clap( flatten) ]
117
119
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<()> {
55
55
56
56
async fn zombienet ( params : crate :: cli:: zombienet:: Params ) -> anyhow:: Result < ( ) > {
57
57
let project_path = obtain_project_path ( ) ?;
58
+ init_env ( & project_path, params. no_infer_bin_path ) ?;
58
59
build:: build ( & project_path, params. build ) . await ?;
59
60
let _zombienet = zombienet:: Zombienet :: try_new ( & project_path, params. zombienet ) . await ?;
60
61
wait_interrupt ( ) . await ??;
You can’t perform that action at this time.
0 commit comments