From 5e6b75a29a7133a6046305f7299163ab77a3cee2 Mon Sep 17 00:00:00 2001 From: Dave Tucker Date: Tue, 16 Aug 2022 10:12:11 +0000 Subject: [PATCH] xtask: Fix integration-test command Signed-off-by: Dave Tucker --- xtask/src/run.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xtask/src/run.rs b/xtask/src/run.rs index 59e24431..13f61f31 100644 --- a/xtask/src/run.rs +++ b/xtask/src/run.rs @@ -30,7 +30,8 @@ fn build(opts: &Options) -> Result<(), anyhow::Error> { if opts.release { args.push("--release") } - args.push("--workspace"); + args.push("-p"); + args.push("integration-test"); let status = Command::new("cargo") .args(&args) .status() @@ -49,7 +50,6 @@ pub fn run(opts: Options) -> Result<(), anyhow::Error> { }) .context("Error while building eBPF program")?; build(&opts).context("Error while building userspace application")?; - // profile we are building (release or debug) let profile = if opts.release { "release" } else { "debug" }; let bin_path = format!("target/{}/integration-test", profile);