Skip to content

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

fix(scripts): correct test module path in coverage and mock scripts

Steven Enamakel4e9835f6c6ca
diff --git a/scripts/ci/rust-coverage-changed.sh b/scripts/ci/rust-coverage-changed.sh
index db687ab22a..1bc276e396 100755
--- a/scripts/ci/rust-coverage-changed.sh
+++ b/scripts/ci/rust-coverage-changed.sh
@@ -279,7 +279,7 @@ run_full() {
# narrow every later registry lookup in the aggregate unit-test process.
log "running isolated build-only reaper test"
llvm_cov --no-report --no-fail-fast -p openhuman --lib \
- "openhuman::agent::tinyagents::reaper_tests::a_build_only_runtime_is_swept_before_it_can_be_invoked" \
+ "openhuman::agent::tinyagents::reaper::tests::a_build_only_runtime_is_swept_before_it_can_be_invoked" \
-- --exact --test-threads=1
llvm_cov_package --no-report --no-fail-fast -p openhuman-embed --all-targets
llvm_cov_package --no-report --no-fail-fast -p openhuman-tui --all-targets
diff --git a/scripts/test-rust-with-mock.sh b/scripts/test-rust-with-mock.sh
index de1312b837..c09cc4c660 100755
--- a/scripts/test-rust-with-mock.sh
+++ b/scripts/test-rust-with-mock.sh
@@ -187,7 +187,7 @@ run_build_only_reaper_test() {
# Keep this real build-path regression in a fresh process so it cannot narrow
# the DomainSet observed by later registry and domain tests.
cargo_test --lib \
- "openhuman::agent::tinyagents::reaper_tests::a_build_only_runtime_is_swept_before_it_can_be_invoked" \
+ "openhuman::agent::tinyagents::reaper::tests::a_build_only_runtime_is_swept_before_it_can_be_invoked" \
-- --exact --test-threads=1 "$@"
}