Ok thanks I'll try that. I was trying to avoid re-building llvm-gcc. Garrison On Dec 10, 2010, at 12:12, Bob Wilson wrote:> > On Dec 10, 2010, at 6:11 AM, Garrison Venn wrote: > >> Hey Chris, >> >> Ok, so I'm working on creating this trivial patch, for starters, but I'm trying to identify >> a controlled unit test for tblgen. So all of the following test tblgen to various extents: >> >> 1) make >> 2) make unittests >> 3) make // with clang >> >> and >> >> 4) make check // which I'm avoiding > > Why are you avoiding it? That's where most of the TableGen tests are (in tests/TableGen). If you only want to run the TableGen tests, you can do: > > make TESTSUITE=TableGen check
On Dec 10, 2010, at 10:17 AM, Garrison Venn wrote:> Ok thanks I'll try that. I was trying to avoid re-building llvm-gcc.You don't need llvm-gcc to run most of the "make check" tests. The FrontEnd tests use it, but that's all. If you run configure with "--without-llvmgcc --without-llvmgxx", then it shouldn't use llvm-gcc at all.> > Garrison > > On Dec 10, 2010, at 12:12, Bob Wilson wrote: > >> >> On Dec 10, 2010, at 6:11 AM, Garrison Venn wrote: >> >>> Hey Chris, >>> >>> Ok, so I'm working on creating this trivial patch, for starters, but I'm trying to identify >>> a controlled unit test for tblgen. So all of the following test tblgen to various extents: >>> >>> 1) make >>> 2) make unittests >>> 3) make // with clang >>> >>> and >>> >>> 4) make check // which I'm avoiding >> >> Why are you avoiding it? That's where most of the TableGen tests are (in tests/TableGen). If you only want to run the TableGen tests, you can do: >> >> make TESTSUITE=TableGen check >
Ok, I was wondering why make check-all was using llvm-gcc for clang tests. Thanks for the pointer, I got to learn about: Release+Asserts/bin/llvm-lit test/TableGen which is really cool. Garrison On Dec 10, 2010, at 13:52, Bob Wilson wrote:> > On Dec 10, 2010, at 10:17 AM, Garrison Venn wrote: > >> Ok thanks I'll try that. I was trying to avoid re-building llvm-gcc. > > You don't need llvm-gcc to run most of the "make check" tests. The FrontEnd tests use it, but that's all. If you run configure with "--without-llvmgcc --without-llvmgxx", then it shouldn't use llvm-gcc at all. > >> >> Garrison >> >> On Dec 10, 2010, at 12:12, Bob Wilson wrote: >> >>> >>> On Dec 10, 2010, at 6:11 AM, Garrison Venn wrote: >>> >>>> Hey Chris, >>>> >>>> Ok, so I'm working on creating this trivial patch, for starters, but I'm trying to identify >>>> a controlled unit test for tblgen. So all of the following test tblgen to various extents: >>>> >>>> 1) make >>>> 2) make unittests >>>> 3) make // with clang >>>> >>>> and >>>> >>>> 4) make check // which I'm avoiding >>> >>> Why are you avoiding it? That's where most of the TableGen tests are (in tests/TableGen). If you only want to run the TableGen tests, you can do: >>> >>> make TESTSUITE=TableGen check >> >