mirror of
https://github.com/ratspeak/rsLXST
synced 2026-11-22 23:10:37 +00:00
tests: read the reference checkouts from the upstream directory
This commit is contained in:
1 parent
6394464f11
commit
9f84f6e466
2 files changed
+2
-7
No files matched your search
@@ -78,10 +78,7 @@ fn python_telephone_helper_loads_reference_and_creates_destination() {
|
||||
.expect("configured LXST upstream exists");
|
||||
assert_eq!(lxst_root, configured);
|
||||
} else {
|
||||
assert!(
|
||||
lxst_root.ends_with(Path::new("upstream").join("LXST"))
|
||||
|| lxst_root.ends_with(Path::new("upstream").join("candidate").join("LXST"))
|
||||
);
|
||||
assert!(lxst_root.ends_with(Path::new("upstream").join("LXST")));
|
||||
}
|
||||
assert!(ready["codec2_stubbed"].is_boolean());
|
||||
assert_eq!(ready["headless_audio"], true);
|
||||
|
||||
@@ -24,9 +24,7 @@ def main_root() -> Path:
|
||||
|
||||
|
||||
def _upstream_checkout(name: str) -> Path:
|
||||
# A candidate worktree holds the next reference release until the pins move.
|
||||
candidate = main_root() / "upstream" / "candidate" / name
|
||||
return candidate if candidate.exists() else main_root() / "upstream" / name
|
||||
return main_root() / "upstream" / name
|
||||
|
||||
|
||||
def upstream_lxst_root() -> Path:
|
||||
|
||||
Reference in new issue
Block a user