Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(scripts): exclude llvm-cov report from coverage suite assertions

Steven Enamakel7110b6ca246e
diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjs
index 66294e9d8c..5cd3ef846a 100644
--- a/scripts/__tests__/self-hosted-lanes.test.mjs
+++ b/scripts/__tests__/self-hosted-lanes.test.mjs
@@ -385,7 +385,9 @@ test("private gates-off and Tauri execute equivalent coverage suites with nextes
for (const name of ["rust-gates-off", "tauri"]) {
for (const c of plan.lanes
.find((l) => l.name === name)
- .checks.filter((c) => /cargo (test|llvm-cov)/.test(c.run))) {
+ .checks.filter(
+ (c) => /cargo (test|llvm-cov)/.test(c.run) && !/llvm-cov report/.test(c.run),
+ )) {
assert.match(c.run, /cargo llvm-cov nextest/);
assert.match(c.run, /--no-tests=fail/);
// Pinned cargo-llvm-cov 0.9.1 rejects combining these two flags;