From 579bd6116682868dc2f40ee6eaad105e28c30b53 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 17 Oct 2022 22:57:27 +0800 Subject: [PATCH] tighten up path filtering so that kernel-test is included --- publish.py | 5 ++++- services/kernel-test/Cargo.toml | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/publish.py b/publish.py index 90f52e36c..f3504982e 100644 --- a/publish.py +++ b/publish.py @@ -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] diff --git a/services/kernel-test/Cargo.toml b/services/kernel-test/Cargo.toml index 8fb371dea..79ce3bc5f 100644 --- a/services/kernel-test/Cargo.toml +++ b/services/kernel-test/Cargo.toml @@ -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"]