[LLVMdev] Dejagnu Tests

Chris Lattner sabre at nondot.org
Tue Jul 1 13:02:21 PDT 2008


On Tue, 1 Jul 2008, Edd Barrett wrote:
>> as much information as you can provide since it may not be a target that
>> the majority of the developers have access to.
>
> The target is OpenBSD/i386 for now and later sparc64 and amd64. Most of

Ok, that sounds like we need to increase testsuite portability.

> the errors are to do with GNU grep syntax not being compatible with BSD
> grep. I would not be suprised if solaris and FreeBSD were impacted by
> this too. The solution is to use egrep we *think*.

Interesting, ok!

> There are a couple we are scratching our head on. One being the negative
> zero test. It seems the display function in llvm-dis (probably printf)
> is truncating the minus sign from the output deeming it pointless in the
> case of zero, whereas on a linux box it does not. Not sure quite what to
> do there yet, as -0 == 0 mathematically, but not in floating point
> representation.

Specifically which test is this?  It is possible we can just change the 
test to not depend on this.

> We should be able to send you guys a bunch of patches for testing soon.
> I think we are down to 6 failed tests now.
> The build itself is now reliable on OpenBSD/i386 after patching tablegen :)

Great!

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list