diff options
author | Jeff Waugh <jdub@bethesignal.org> | 2016-11-16 02:58:01 +1100 |
---|---|---|
committer | Jeff Waugh <jdub@bethesignal.org> | 2016-11-16 06:18:44 +1100 |
commit | a6aa516270225f387e9e615dcfa6eebca71f5475 (patch) | |
tree | 88940b04b1a414b220e7547f642af1fd9f84bb3c /libbindgen/src/codegen/mod.rs | |
parent | 6b285e617ede6d3dbd6d2d0129ac81bc992a1593 (diff) |
Generate a separate test function for every header
- Header tests can now be run selectively, e.g. `cargo test union`
will test all 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.
Diffstat (limited to 'libbindgen/src/codegen/mod.rs')
0 files changed, 0 insertions, 0 deletions