]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #13948 : huonw/rust/test-regex-filter, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 15 May 2014 18:22:02 +0000 (11:22 -0700)
committerbors <bors@rust-lang.org>
Thu, 15 May 2014 18:22:02 +0000 (11:22 -0700)
This allows writing a regex to filter tests more precisely, rather than having to list long paths e.g.

```
$ ./stdtest-x86_64-unknown-linux-gnu 'vec.*clone'

running 2 tests
test vec::tests::test_clone ... ok
test vec::tests::test_clone_from ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured
```

The regex change is fully backwards compatible, since test names are Rust
identifiers + `:`, and hence not special regex characters.

(See commits for details.)

1  2 
src/libstd/unstable/dynamic_lib.rs

Simple merge