rust/src/test
Felix S. Klock II 75825fe1df Tests of -Z print-type-sizes functionality.
Note that the tests have been updated to initialize the local
variables; originally it was enough just to declare them.

Back when I started this, the `layout_cache` contained entries even
just for types that had been declared but not initialized. Apparently
things have changed in the interim so that if I want one of those
layouts to be computed, I need to actually initialize the value.

(Incidentally, this shows a weakness in the strategy of just walking
the `layout_cache`; the original strategy of using a MIR visitor would
probably have exhibited more robustness in terms of consistent output,
but it had other weaknesses so I chose not to reimplement it. At
least, not yet.)

----

Also, I have updated tests to avoid target-specific alignments.
2016-11-24 10:30:18 +01:00
..
codegen Fix codegen test after change of llvm type naming scheme 2016-11-13 19:49:56 -05:00
codegen-units Fix fallout in tests. 2016-09-27 06:43:51 +00:00
compile-fail Rollup merge of #37442 - estebank:cast-deref-hint, r=jonathandturner 2016-11-23 12:18:09 +01:00
compile-fail-fulldeps Fix fallout in rustdoc and tests. 2016-11-21 12:16:46 +00:00
debuginfo Move all Linux/OSX CI infastructure to Travis 2016-11-11 07:36:40 -08:00
incremental ICH: Add test case for struct constructor expressions. 2016-11-22 15:49:58 -05:00
mir-opt update tests 2016-10-04 20:43:43 +03:00
parse-fail Fix fallout in tests. 2016-11-22 01:48:14 +00:00
pretty tests: fix fallout in pretty-printing output exact-match tests. 2016-11-10 01:44:53 +02:00
run-fail Warn when a #[should_panic] test has an unexpected message 2016-11-18 21:01:19 +10:30
run-fail-fulldeps Fix fallout in rustdoc and tests. 2016-11-21 12:16:46 +00:00
run-make Auto merge of #37908 - nrc:save-def, r=eddyb 2016-11-23 14:31:45 -06:00
run-pass Rollup merge of #37938 - michaelwoerister:move-myriad-closures, r=eddyb 2016-11-23 12:18:10 +01:00
run-pass-fulldeps Move the myriad-closures.rs test case to run-pass-full test suite. 2016-11-22 15:16:54 -05:00
run-pass-valgrind Fix some pretty printing tests 2016-10-18 23:23:40 +03:00
rustdoc Auto merge of #37773 - ollie27:rustdoc_inline_glob, r=brson 2016-11-16 01:17:53 -08:00
ui Tests of -Z print-type-sizes functionality. 2016-11-24 10:30:18 +01:00