summaryrefslogtreecommitdiff
path: root/tests/headers/forward-inherit-struct-with-fields.hpp
diff options
context:
space:
mode:
authorJean-Philippe DUFRAIGNE <j.dufraigne@gmail.com>2016-11-05 09:44:24 +0000
committerJean-Philippe DUFRAIGNE <j.dufraigne@gmail.com>2016-11-05 14:07:52 +0000
commit2866ab506f0bf1946e7732b0b57567508fd62d28 (patch)
treeffa958090064c257991afb807c8d80cb1efc7902 /tests/headers/forward-inherit-struct-with-fields.hpp
parent9073a4f0538e41a28164809b28e7f38a2ee528fe (diff)
Speed up integration tests (move building expectations)
Speed up running 'cargo test': -Before: 2'17s -After: 30s Update to use new path: Makefile, .travis.yml, CONTRIBUTING.md, tests/tests.rs Delete unused expectation that fail to compile: tests/expectations/moar_bitfields.rs tests/expectations/variadic_template_args.rs For every 'cargo test' run, the bindgen output where built. We already test that the bindgen output match expectations/*.rs, so there is no need to check it build unless the expectation is updated. Move tests/expectations/*.rs to tests/expectations/tests/*.rs and make tests/expectations a new dev-dependency package. This allow running: - cargo test -p tests_expectations In addition to the speed up, we also get a clean output for the build and test run. In particular, a number of warnings are generated that should probably be silenced, and eventually enforced modifying travis to build: - RUSTFLAGS='-D warnings' cargo test -p tests_expectations The benefit of having it as a new package is that it avoid polluting the 'cargo test' output that should focus on bindgen.
Diffstat (limited to 'tests/headers/forward-inherit-struct-with-fields.hpp')
0 files changed, 0 insertions, 0 deletions