Skip to content

Commit

Permalink
Fix(script): normal target to avoid flag mess up in nightly (near#2674)
Browse files Browse the repository at this point in the history
Nightly expensive tests use --all-features to build, but some expensive test need a neard build without `--all-features`, if, use same target dir, will cause those expensive tests recompiling after compile the neard

Test Plan
------------
Precompile neard in nightly.py to normal_target dir
  • Loading branch information
ailisp authored May 19, 2020
1 parent f734525 commit c9fed92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-utils/testlib/src/node/process_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl ProcessNode {
]);
command
} else {
let mut command = Command::new("target/debug/neard");
let mut command = Command::new("normal_target/debug/neard");
command.args(&["--home", &self.work_dir, "run"]);
command
}
Expand Down

0 comments on commit c9fed92

Please sign in to comment.