mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 08:48:30 +00:00
fix(ci): fix tests
This commit is contained in:
@@ -131,10 +131,14 @@ fn build_with_target_config() {
|
||||
"dcr build with target = \"linux\" should succeed"
|
||||
);
|
||||
|
||||
let artifact = default_artifact_path(&dir, &project_name);
|
||||
let artifact = dir
|
||||
.join("target")
|
||||
.join("x86_64-unknown-linux-gnu")
|
||||
.join("debug")
|
||||
.join(&project_name);
|
||||
assert!(
|
||||
artifact.is_file(),
|
||||
"artifact should be at default path target/x86_64-unknown-linux-gnu/debug/{}",
|
||||
"artifact should be at target/x86_64-unknown-linux-gnu/debug/{} (build.target=linux), got missing; dir listing may differ on host",
|
||||
project_name
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user