Add support for per-test target runners #2220
Replies: 3 comments
-
Some notes from the debugging session today:
|
Beta Was this translation helpful? Give feedback.
-
One interesting behavior with Cargo's target runners is that |
Beta Was this translation helpful? Give feedback.
-
Another use case for target runners is valgrind.
This is how I run valgrind under nextest:
Valgrind is slower, so I also highly recommend something like:
But I'd really like to use (Nextest config |
Beta Was this translation helpful? Give feedback.
-
At Oxide we have a use case where we want to be able to run
pfexec
(sudo
equivalent) for some tests on illumos. This is generally possible with target runners on illumos, but usingpfexec
against every single test is a recipe for a ton of files suddenly being owned by root.There are hacks around this, but the ideal solution is to support per-test target runners. We should add a way to do that.
This is mostly a matter of adding configuration to
nextest.toml
, since the general infrastructure for target runners can be reused. I'd estimate it would take 3-4 days for me to get it done, including documentation. So it's just a matter of budgeting time for it.Beta Was this translation helpful? Give feedback.
All reactions