Rollup merge of #39815 - oli-obk:patch-3, r=aturon
Rollup merge of #39815 - oli-obk:patch-3, r=aturon

enable tools to use test runners programmatically

GBGamer/rust,graydon/rust,graydon/rust,graydon/rust,aidancully/rust,aidancully/rust,aidancully/rust,aidancully/rust,GBGamer/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,graydon/rust,graydon/rust,GBGamer/rust,GBGamer/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,graydon/rust