summaryrefslogtreecommitdiff
path: root/tests/expectations/func_with_array_arg.rs
AgeCommit message (Collapse)Author
2016-11-05Speed up integration tests (move building expectations)Jean-Philippe DUFRAIGNE
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.
2016-07-10Use aster and quasi to allow building with stable Rust.Emilio Cobos Álvarez
2016-04-16tests: Add allow(non_snake_case) to be less noisyEmilio Cobos Álvarez
2016-04-16tests: Add expectationsEmilio Cobos Álvarez