[LLVMdev] Parallel testsuite run breaks

David A. Greene greened at obbligato.org
Thu Dec 9 13:06:34 PST 2010


Jason Kim <jasonwkim at google.com> writes:

>>> There is definitely something to this.  If I take a random failing
>>> testcase and run the test in isolation in the shell, it works.  So
>>> what, if anything, does lit/FileCheck/etc. do that might run
>>> interference if there is another copy of lit/FileCheck/etc. running
>>> at the same time? I tried strace -etrace=file but nothing obvious
>>> pops out.
>
> Perhaps its this?   - http://llvm.org/bugs/show_bug.cgi?id=8199

Good catch!  I think that is probably it.  I have old installations of
llvm-gcc/opt/llc/etc. that I use to tell the new build where llvm-gcc
is.  It would explain why results for Debug/Release differ because I do
separate installations for each build flavor and branch.

This may also explain why I've sometimes seen tests working in the past
where others see failures.

Wow, this probably explains a lot.

For now, I think if I tweak the way I do the build to always build
without pointing to llvm-gcc first, build and test LLVM then build
llvm-gcc and re-build LLVM, it should work.  It will take much longer,
though.  :(

                                 -Dave




More information about the llvm-dev mailing list