[llvm-commits] [llvm] r79831 - /llvm/trunk/unittests/Support/ConstantRangeTest.cpp

Daniel Dunbar daniel at zuster.org
Sun Aug 23 00:47:24 PDT 2009


On Sat, Aug 22, 2009 at 11:32 PM, Chris Lattner<sabre at nondot.org> wrote:
> Author: lattner
> Date: Sun Aug 23 01:32:25 2009
> New Revision: 79831
>
> URL: http://llvm.org/viewvc/llvm-project?rev=79831&view=rev
> Log:
> convert all the constant range EXPECT_EQ tests to use EXPECT_TRUE since
> ConstantRange doesn't have an std::ostream inserter anymore.

This is somewhat unfortunate, as EXPECT_EQ gives much nicer output
when things fail. Not a big deal, but this does make it easier to
guess the problem from a failure log (i.e., a buildbot).

Since this problem isn't going to get better, maybe we can make
EXPECT_EQ work on raw_ostream?

 - Daniel



More information about the llvm-commits mailing list