From 1857bf82c725dec30c8e32e3b11a87bdeaa1cec2 Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Sun, 26 Nov 2023 18:45:48 -0800 Subject: [PATCH] xtask: Fix test-more not handling the new wasm workspace separation. --- tools/xtask/src/xtask.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/xtask/src/xtask.rs b/tools/xtask/src/xtask.rs index 65c6bcaee..a2e3718dd 100644 --- a/tools/xtask/src/xtask.rs +++ b/tools/xtask/src/xtask.rs @@ -409,8 +409,8 @@ const ALL_NONTEST_PACKAGES: [&str; 9] = [ "all-is-cubes-content", "all-is-cubes-port", "all-is-cubes-desktop", - "all-is-cubes-wasm", "all-is-cubes-server", + "all-is-cubes-wasm", ]; const CHECK_SUBCMD: &str = "clippy"; @@ -554,6 +554,12 @@ fn do_for_all_packages( // To test with limited features, we need to run commands separately for each // package, as otherwise they will enable dependencies' features. for package_name in ALL_NONTEST_PACKAGES { + if package_name == "all-is-cubes-wasm" { + // not in main workspace, and incidentally also has no features to test + // TODO: make this exemption data-driven + continue; + } + let _t = CaptureTime::new(time_log, format!("{op:?} --package {package_name}")); op.cargo_cmd(config) .args(["--package", package_name, "--no-default-features"])