about summary refs log tree commit diff
path: root/src/liballoc_jemalloc
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jsgf@fb.com>2016-12-05 13:12:00 -0800
committerJeremy Fitzhardinge <jsgf@fb.com>2016-12-05 14:36:58 -0800
commit5bf4d6fbc0ca467f16537a5e440fda35d0e2780b (patch)
treec0e9cfbac0e9fccd987b51be08f1da4af3c6a215 /src/liballoc_jemalloc
parentd346dbc938da2f8d1bd13492331d9ec1b15bdac7 (diff)
downloadrust-5bf4d6fbc0ca467f16537a5e440fda35d0e2780b.tar.gz
rust-5bf4d6fbc0ca467f16537a5e440fda35d0e2780b.zip
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/liballoc_jemalloc')
0 files changed, 0 insertions, 0 deletions