tighten up path filtering so that kernel-test is included

This commit is contained in:
bunnie 2022-10-17 22:57:27 +08:00
parent e2fcc42d99
commit 579bd61166
2 changed files with 6 additions and 3 deletions

View file

@ -256,7 +256,10 @@ def main():
not_core_path = True
for cratespec in cratelist:
editpath = cratespec[1]
if editpath in str(Path(path)).replace('\\', '/'): # fix windows paths
normpath = str(Path(path)).replace('\\', '/').rpartition('/')[0] # fix windows paths
# print(editpath)
# print(normpath)
if editpath == normpath:
not_core_path = False
if not_core_path:
cargo_toml_paths += [path]

View file

@ -8,11 +8,11 @@ description = "Program to test various aspects of the kernel"
# Dependency versions enforced by Cargo.lock.
[dependencies]
xous = "0.9.17"
log-server = { package = "xous-api-log", version = "0.1.9" }
log-server = { package = "xous-api-log", version = "0.1.11" }
ticktimer-server = { package = "xous-api-ticktimer", version = "0.9.10" }
log = "0.4.14"
utralib = { version = "0.1.3", optional = true, default-features = false }
utralib = { version = "0.1.5", optional = true, default-features = false }
[features]
precursor = ["utralib/precursor", "xous/precursor"]