Skip to content

Commit

Permalink
fixup: runner artifact path
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Sep 23, 2023
1 parent dfeafc7 commit 2912759
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/test-manager/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ impl VmConfig {
}

fn get_x64_runner_dir(&self) -> &Path {
pub const X64_LINUX_TARGET_DIR: &str = "target/x86_64-unknown-linux-gnu/release";
pub const X64_WINDOWS_TARGET_DIR: &str = "target/x86_64-pc-windows-gnu/release";
pub const X64_MACOS_TARGET_DIR: &str = "target/x86_64-apple-darwin/release";
pub const X64_LINUX_TARGET_DIR: &str = "../target/x86_64-unknown-linux-gnu/release";
pub const X64_WINDOWS_TARGET_DIR: &str = "../target/x86_64-pc-windows-gnu/release";
pub const X64_MACOS_TARGET_DIR: &str = "../target/x86_64-apple-darwin/release";

match self.os_type {
OsType::Linux => Path::new(X64_LINUX_TARGET_DIR),
Expand All @@ -167,8 +167,8 @@ impl VmConfig {
}

fn get_aarch64_runner_dir(&self) -> &Path {
pub const AARCH64_LINUX_TARGET_DIR: &str = "target/aarch64-unknown-linux-gnu/release";
pub const AARCH64_MACOS_TARGET_DIR: &str = "target/aarch64-apple-darwin/release";
pub const AARCH64_LINUX_TARGET_DIR: &str = "../target/aarch64-unknown-linux-gnu/release";
pub const AARCH64_MACOS_TARGET_DIR: &str = "../target/aarch64-apple-darwin/release";

match self.os_type {
OsType::Linux => Path::new(AARCH64_LINUX_TARGET_DIR),
Expand Down

0 comments on commit 2912759

Please sign in to comment.