Skip to content

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

test(scripts): stub cargo llvm-cov show-env in rust coverage test

Steven Enamakel0c15ca8309af
diff --git a/scripts/__tests__/rust-coverage-status.test.mjs b/scripts/__tests__/rust-coverage-status.test.mjs
index 9fd6397da5..c2804277fb 100644
--- a/scripts/__tests__/rust-coverage-status.test.mjs
+++ b/scripts/__tests__/rust-coverage-status.test.mjs
@@ -252,6 +252,7 @@ node - "$@" <<'JS'
const fs = require('node:fs');
const args = process.argv.slice(2);
if (args[0] === 'metadata') console.log(JSON.stringify({ packages: [] }));
+if (args[0] === 'llvm-cov' && args[1] === 'show-env') console.log('export CARGO_LLVM_COV_TARGET_DIR=target');
if (args[0] === 'nextest' && args[1] === 'list') {
console.log(JSON.stringify({ 'rust-suites': { active: { 'binary-name': 'active', testcases: { active: { ignored: false, 'filter-match': { status: 'matches' } } } } } }));
}