rust/src/compiletest
Björn Steinbrink 677367599e Revamp codegen tests to check IR quality instead of quantity
The current codegen tests only compare IR line counts between similar
rust and C programs, the latter getting compiled with clang. That looked
like a good idea back then, but actually things like lifetime intrinsics
mean that less IR isn't always better, so the metric isn't really
helpful.

Instead, we can start doing tests that check specific aspects of the
generated IR, like attributes or metadata. To do that, we can use LLVM's
FileCheck tool which has a number of useful features for such tests.

To start off, I created some tests for a few things that were recently
added and/or broken.
2015-05-27 12:08:31 +02:00
..
common.rs Revamp codegen tests to check IR quality instead of quantity 2015-05-27 12:08:31 +02:00
compiletest.rs Revamp codegen tests to check IR quality instead of quantity 2015-05-27 12:08:31 +02:00
errors.rs
header.rs compiletest: Add support for // ignore-musl 2015-04-27 10:11:15 -07:00
procsrv.rs
raise_fd_limit.rs More test fixes 2015-04-14 10:14:19 -07:00
runtest.rs Revamp codegen tests to check IR quality instead of quantity 2015-05-27 12:08:31 +02:00
util.rs compiletest: Add support for // ignore-musl 2015-04-27 10:11:15 -07:00