[LLVMdev] llvm-test warning
Reid Spencer
rspencer at reidspencer.com
Wed Nov 29 13:13:08 PST 2006
All,
On Wed, 2006-11-29 at 11:04 -0800, Chris Lattner wrote:
> With a recent change made to the llvm-test makefiles, you may start
> getting failures for everything. To fix this, remove the 'native output'
> with a command like this:
>
> find projects/llvm-test/ -name \*.out-nat -print -exec rm {} \;
FYI, the change made to llvm-test is to add an "exit <retval>" line at
the end of a program's output. This will ensure that any difference in
the program's return value (exit code) will be picked up by the
DiffOutput script and reported as a failure. The tests have all been
made "exit clean" (thanks Evan). The reason you need to remove
the .out-nat file is that they won't contain the "exit <retval>" line
until regenerated, while newly generated output for jit/llc/cbe will
contain "exit <retval>", which leads to false positives.
>
> The next time you run llvm-test, the native output will be rebuilt
> properly.
>
> -Chris
>
Reid.
More information about the llvm-dev
mailing list