[llvm-bugs] [Bug 13260] CMake-generated projects cannot run single test suite

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 19 11:39:27 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=13260

Chris Bieneman <chris.bieneman at me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |chris.bieneman at me.com
         Resolution|---                         |FIXED

--- Comment #3 from Chris Bieneman <chris.bieneman at me.com> ---
Jordan,

I believe this is now fully resolved for non-IDE generators. In r268806 Justin
Bogner added a feature that generates check targets for every subdirectory
under the tests directories. The targets follow the format
check-${project}-${subdir}, where subdir is the name of the subdirectories
under the test directory with slashes replaced by dashes.

This follows exactly what Takumi commented where the target
check-clang-Analysis runs the tests under clang/test/Analysis. Additionally
check-clang-Analysis-objc runs the  tests under clang/test/Analysis/objc.

This workflow is not supported in multi-configuration generators (i.e. Visual
Studio & Xcode) because IDEs seem to have a problem with excessive numbers of
targets being generated, but it works great if you use Ninja or Make.

Is this sufficient for your needs?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160819/07eb3913/attachment.html>


More information about the llvm-bugs mailing list