<div dir="ltr">Hi!<div><br></div><div>The docs look strange to me - I don't indeed see any CMake support for running compiler-rt tests.</div><div>Probably compiler-rt folks can comment on this...</div><div style>I think you should run compilert-rt tests manually by smth. like compiler-rt/test/Unit/test.</div>
<div style><br></div><div style>CMake build system is able of running a bunch of sanitizer tests (AddressSanitizer, ThreadSanitizer etc.), and it assumes that</div><div style>compiler-rt is checked out to llvm/projects/compiler-rt. Apparently, this is a problem. There was a patch that tried to address this, but</div>
<div style>it never got committed.</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 22, 2013 at 11:38 PM, Greg Fitzgerald <span dir="ltr"><<a href="mailto:garious@gmail.com" target="_blank">garious@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Anybody working on porting the compiler-rt tests to cmake?<div><br></div><div>The online documentation shows a preference for cmake and ctest, but the CMakeLists file has the comment "Currently the tests have not been ported to CMake, so disable this directory."  How should we be running the test suite?</div>


<div><br></div><div><a href="http://compiler-rt.llvm.org/" target="_blank">http://compiler-rt.llvm.org/</a><br></div><div><br></div><div>My immediate issue is that "make check-all" fails in the cmake build when compiler-rt is outside the projects directory.  When I point to compiler-rt with LLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR, lit still looks for lit.common.cfg within "projects/compiler-rt" instead of the external directory.  I use similar CMake variables for Clang and Polly and have had no trouble.  Any recommendations for how to fix?</div>


<div><br></div><div>Thanks,</div><div>Greg</div><div><br></div><div><br></div></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Alexey Samsonov, MSK</div>
</div>