[PATCH] D20842: [test-suite] Simplified test executable name generation.

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Tue May 31 16:19:47 PDT 2016


tra created this revision.
tra added a reviewer: MatzeB.
tra added a subscriber: llvm-commits.

.. and provided a way for users to find out generated executable name.
This makes it possible to further customize build process for particular
target in the user's CMake files.

* Documented some of the variables controlling test generation.
* test_suite_add_executable has been renamed to llvm_test_executable()
* removed 'mainsource' parameter
* return generated executable names
* Set include paths for current build/source dirs for each test we generate. 

  Note: previously iinclude path was set globally each time llvm_multisource() was invoked. 
  It looked unintentional. I've made it more uniform (applies to all executables we create) 
  and localized (it's set per executable and no longer applies to subdirectories)
  As far as I can tell, testsuite still builds. Please let me know if we do want/need
  to add include paths per directory on llvm_multisource() invocation.

http://reviews.llvm.org/D20842

Files:
  cmake/modules/SingleMultiSource.cmake

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20842.59145.patch
Type: text/x-patch
Size: 4898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160531/6ddd0dff/attachment.bin>


More information about the llvm-commits mailing list