compiletest-rs icon indicating copy to clipboard operation
compiletest-rs copied to clipboard

Filter testcases by regex instead of by (sub)string

Open karlosss opened this issue 5 years ago • 1 comments

Hi!

As of now, it seems to be the case that the testcases can be filtered by a substring or by exact match (https://github.com/laumann/compiletest-rs/blob/master/src/common.rs#L149). I would appreciate if I could filter them using a regular expression. Is this somehow possible? I struggle to see it.

Thanks!

karlosss avatar Aug 16 '20 21:08 karlosss

Hi @karlosss,

Unfortunately, this PR mostly serves as a (pretty outdated) mirror of rusts builtin compiletest, so we don't generally add features not present there. I encourage you to either submit an issue (and preferably a PR) upstream, or try to use something else like https://github.com/dtolnay/trybuild instead.

Munksgaard avatar Aug 17 '20 07:08 Munksgaard