[LLVMdev] Quest - Automatic testing script

Bryan Turner
2005-06-08T15:22:54Z

Hello,

    I was inspired by the Quest tool and decided to give it a try on LLVM.
It quickly located two bugs which appear to be in the bug database already:

Bug #279 -  	[llvmgcc] "constructor" code generation can be improved

    Although, the code that Quest generates actually *crashes* LLVM instead
of producing poor output.  Should this be added as a separate bug, or just
annotate the existing one?

Bug #323  	[llvm-gcc] crashes on union with bitfield

    This one pops up quickly when -O3 is turned on.  Nothing new compared to
the existing bug.

    Since Quest hit these two bugs so frequently, I had to re-arrange the
test generation suite to work around them.  Attached is the new ANSI test
suite; simplified to remove floats, doubles, long longs, bitfields, and
includes a work-around for the constructor bug.

    Also attached is the auto-test script that I've been running.  It's
been
running for 24 hours with no problems (about 200,000 test cases).

Hope this is useful for someone,
--Bryan
bryan.turner at pobox.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20050608/91703787/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ansifloat.lua
Type: application/octet-stream
Size: 3453 bytes
Desc: not available
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20050608/91703787/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testLLVM
Type: application/octet-stream
Size: 272 bytes
Desc: not available
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20050608/91703787/attachment-0001.obj>