diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-07-05 03:50:03 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-07-05 03:50:03 +0000 |
commit | 635430895af397183fd76a95e47af776c740d571 (patch) | |
tree | eb21e3f5419abff637d9836b98183e2d9c9d2731 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py | |
parent | 459877388bc48de1ea96033205531810b1fac59d (diff) | |
download | bcm5719-llvm-635430895af397183fd76a95e47af776c740d571.tar.gz bcm5719-llvm-635430895af397183fd76a95e47af776c740d571.zip |
Add dummy CMake target for *.pass.cpp tests when LIBCXX_CONFIGURE_IDE=ON.
In order for IDE's like CLion to correctly parse and highlight the tests
it needs to know roughly how to build them. This patch adds a dummy CMake target
for each/all of the .pass.cpp tests in the test suite to solve this problem.
The target is only created when LIBCXX_CONFIGURE_IDE=ON, so it shouldn't affect
most users.
Originally I wasn't sure that this change deserved to live upstream, but it's
quite frustrating to edit libc++ tests using CLion or Visual Studio without it,
in particular the filesystem tests which rely heavily on macros. Even though the change
should have no effect on non-IDE users/configurations I decided to commit it upstream
with the hopes it will benefit somebody other than me.
llvm-svn: 307118
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions