[LLVMdev] Parallel testsuite run breaks
Török Edwin
edwintorok at gmail.com
Thu Dec 9 09:46:09 PST 2010
On Thu, 09 Dec 2010 11:24:19 -0600
greened at obbligato.org (David A. Greene) wrote:
> greened at obbligato.org (David A. Greene) writes:
>
> > Often I run a few different builds in parallel, with different
> > obj/build directories. Is it possible that the test infrastructure
> > writes something to the source directories or some common temp
> > directory? That could confuse things when doing parallel
> > build/test and would explain all these failures. When I don't run
> > in parallel, things seem to work much better.
>
> 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.
I don't see anything wrong with FileCheck either.
However looks here, that .bc file is in the *source* tree, not the obj tree:
not llvm-dis < /ptmp/dag/llvm-project.official/llvm/trunk/test/Bitcode/null-type.ll.bc > /dev/null |& grep "Invalid MODULE_CODE_FUNCTION record"
And I guess the .bc file is created by something during the test, multiple builds in parallel == everything breaks.
Daniel, is the .bc file created by 'lit'?
Best regards,
--Edwin
More information about the llvm-dev
mailing list