You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 12, 2021. It is now read-only.
My test cases sometimes leave zombie threads hanging around, which sometimes causes issues in unrelated test cases. I'd like to be able to run one test case per process for better isolation, until I can make sure all threads are reaped properly. For the moment I am using the following:
while IFS= read -r exe;doecho"found test exe $exe"while IFS= read -r test;doecho"found test name $test""$exe" --exact "$test"done<<("$exe" --list | grep '.*: test$'| sed 's/: test$//g')done<<(cat cargo-output.json | jq -cMr 'select(.reason == "compiler-artifact" and .target.kind == [ "test" ]) | .executable')
where cargo-output.json is cargo's message-format output. This is far from ideal, and I'd love support for this in libtest.
Do you reckon there are technical reasons why it can't be made?