Make remote-test-client work as cargo runner again
Since cargo appends executable/args, the support_lib count parameter has to come first.
This commit is contained in:
parent
0199fdc0f7
commit
036da3a6dc
3 changed files with 7 additions and 6 deletions
|
|
@ -1608,8 +1608,7 @@ impl<'test> TestCx<'test> {
|
|||
let mut test_client =
|
||||
Command::new(self.config.remote_test_client.as_ref().unwrap());
|
||||
test_client
|
||||
.args(&["run", &prog])
|
||||
.arg(support_libs.len().to_string())
|
||||
.args(&["run", &support_libs.len().to_string(), &prog])
|
||||
.args(support_libs)
|
||||
.args(args)
|
||||
.envs(env.clone());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue