summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2017-09-06Don't try and debug format blacklisted types when generating `impl Debug` blocksNick Fitzgerald
2017-09-06Be pessimistic about `derive(Debug)` and blacklisted typesNick Fitzgerald
2017-09-06Write test for `--no-derive--copy`mchlrhw
2017-09-05Do not derive Copy for blacklisted typesNick Fitzgerald
Presumably they are blacklisted because we can't understand them properly, so be pessimistic about what we can derive for it. Fixes #944.
2017-09-04ir: Fix definitions outside of base class manually tracking the correct parent.Emilio Cobos Álvarez
2017-09-04Test.Emilio Cobos Álvarez
2017-09-04Existing test adjustments.Emilio Cobos Álvarez
2017-08-21Small tests for derive EqZhiting Zhu
2017-08-21Misc tests for derive EqZhiting Zhu
2017-08-21Layout related tests for derive EqZhiting Zhu
2017-08-21Template related tests for derive EqZhiting Zhu
2017-08-21Anonymous related tests for derive EqZhiting Zhu
2017-08-21Complex float related tests for derive EqZhiting Zhu
2017-08-21Function related tests for derive EqZhiting Zhu
2017-08-21Opaque tests for can derive EqZhiting Zhu
2017-08-21Class related tests for can derive EqZhiting Zhu
2017-08-21Struct related tests for can derive EqZhiting Zhu
2017-08-21Union related tests for can derive EqZhiting Zhu
2017-08-21Rename `TypeKind::Named` to `TypeKind::TypeParam`Anna Liao
Also renames a bunch of other things referring to named types to refer to type parameters. Fixes #915
2017-08-14Small tests for derive PartialEqZhiting Zhu
2017-08-14Misc tests for derive PartialEqZhiting Zhu
2017-08-14Layout related tests for derive PartialEqZhiting Zhu
2017-08-14Template related tests for derive PartialEqZhiting Zhu
2017-08-14Anonymous related tests for derive PartialEqZhiting Zhu
2017-08-14Complex float related tests for derive PartialEqZhiting Zhu
2017-08-14Function related tests for derive PartialEqZhiting Zhu
2017-08-14Opaque related tests for derive PartialEqZhiting Zhu
2017-08-14Class related tests for derive PartialEqZhiting Zhu
2017-08-14Struct related tests for derive PartialEqZhiting Zhu
2017-08-14Union related tests for derive PartialEqZhiting Zhu
2017-08-14Auto merge of #909 - bkchr:union_fix, r=emiliobors-servo
Fixes alignment errors with new Rust union type This fix creates a new private field with the required aligned size. This new private field ensures that the union has the required size. This fixes: #908
2017-08-14Fixes alignment errors with new Rust union typeBastian Köcher
This fix creates a new private field with the required aligned size. This new private field ensures that the union has the required size.
2017-08-14Auto merge of #911 - upsuper:layout-test-name, r=emiliobors-servo
Stablize name of reference and nested combination of ref, ptr, and array
2017-08-14Auto merge of #892 - tmfink:feature-832-custom-rust-target, r=emiliobors-servo
Re-add --rust-target option to replace --unstable-rust Re-apply commit. Addresses #832 Instead of specifying whether or not to use stable, specify the Rust release to support (one of several stable/beta releases or nightly). The `--unstable-rust` option is still accepted and implies nightly. The definitions of `RustTarget` and `RustFeatures` are created with macros. For each test that uses unions, there is a version that uses the latest stable and 1.0.
2017-08-14Stablize name of reference and nested combination of ref, ptr, and arrayXidorn Quan
2017-08-13Re-add --rust-target to replace --unstable-rustTravis Finkenauer
Instead of specifying whether or not to use stable, specify the Rust release to support (one of several stable/beta releases or nightly). The `--unstable-rust` option is still accepted and implies nightly. The definitions of `RustTarget` and `RustFeatures` are created with macros. For each test that uses unions, there is a version that uses the latest stable and 1.0. This also fixes the bug where unions were generated with non-Copy fields.
2017-08-13ir: Sanitize base names more aggressively.Emilio Cobos Álvarez
This fixes stylo build failures when template instantiations tests caused a rust compile error due to a bad test name. This commit makes names better sanitized, preventing similar errors in the future.
2017-08-13tests: Fix clang warning about missing constructor to initialize const member.Emilio Cobos Álvarez
2017-08-10Auto merge of #899 - bkchr:manual_debug_impl, r=fitzgenbors-servo
Implements Debug trait for types which do not support derive Debug For types that do not support derive Debug be implemented automatically by rust, we know can generate implementations of the Debug trait. This code generation is hidden behind the '--force-derive-debug' command-line flag. Should solve: #875 Sorry for the extra noise in lib.rs, codegen/mod.rs etc, that was rustfmt.
2017-08-11Small fixes and improvements to the derive-debug testsBastian Köcher
2017-08-11Renames cli --force-derive-debug to --impl-debugBastian Köcher
2017-08-10Implements Debug trait for types which do not support derive DebugBastian Köcher
For types that do not support derive Debug be implemented automatically by rust, we know can generate implementations of the Debug trait. This code generation is hidden behind the '--force-derive-debug' command-line flag.
2017-08-09Small dedicated tests for derive HashZhiting Zhu
2017-08-09Misc tests for derive HashZhiting Zhu
2017-08-09Layout related tests for derive HashZhiting Zhu
2017-08-09Template related tests for derive HashZhiting Zhu
2017-08-09Anonymous related tests for derive HashZhiting Zhu
2017-08-09Complex float tests for derive HashZhiting Zhu
2017-08-09Function related tests for derive HashZhiting Zhu
2017-08-09Opaque related tests for derive HashZhiting Zhu