about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-12-14 00:31:48 +0000
committerbors <bors@rust-lang.org>2016-12-14 00:31:48 +0000
commitaa7a2e9e61cfb9469c7eb88308fa2e1a087ebdb4 (patch)
tree9cba4698ce46878b3967e33b54f228d65ed942c6 /src/rustllvm/RustWrapper.cpp
parenta2746170441823cec2807716fab594d62549c5c2 (diff)
parent5bf4d6fbc0ca467f16537a5e440fda35d0e2780b (diff)
downloadrust-aa7a2e9e61cfb9469c7eb88308fa2e1a087ebdb4.tar.gz
rust-aa7a2e9e61cfb9469c7eb88308fa2e1a087ebdb4.zip
Auto merge of #38181 - jsgf:test-filter-exact, r=alexcrichton
libtest: add --exact to make filter matching exact

Filter matching is by substring by default. This makes it impossible
to run a single test if its name is a substring of some other test.
For example, its not possible to run just `mymod::test` with these
tests:

```
  mymod::test
  mymod::test1
  mymod::test_module::moretests
```

You could declare by convention that no test has a name that's a
substring of another test, but that's not really practical.

This PR adds the `--exact` flag, to make filter matching exactly
match the complete name.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions