diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-15 13:22:19 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-15 13:22:19 -0600 |
commit | 09dc05c8188bc63f4a30456901d0ff1eeeac5fc5 (patch) | |
tree | 88940b04b1a414b220e7547f642af1fd9f84bb3c /libbindgen/src/codegen/helpers.rs | |
parent | 6b285e617ede6d3dbd6d2d0129ac81bc992a1593 (diff) | |
parent | a6aa516270225f387e9e615dcfa6eebca71f5475 (diff) |
Auto merge of #261 - jdub:named-tests, r=emilio
Generate a separate test function for every header
- Header tests can now be run selectively, e.g.
`cargo test header` will test all headers
`cargo test union` will test headers with 'union' in the file name
- The list of test functions is generated by `build.rs`, so never needs to be updated
- Clever approach suggested by @fitzgen
This PR depends on #204, so will include those changes until they're merged into master and this can be rebased. But I'll keep the commits separate.
Diffstat (limited to 'libbindgen/src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions