diff options
| author | Kevin Rocard <kevin.rocard@intel.com> | 2015-04-11 23:27:43 +0200 | 
|---|---|---|
| committer | Eric Laurent <elaurent@google.com> | 2015-04-24 13:39:14 -0700 | 
| commit | 4c18b3a9a3bc1a8fc4317f0076716ebdc81af917 (patch) | |
| tree | 015dfaa3d43cb38ba97a2081130c0d77e7e822ca | |
| parent | ef9cc769da415e23ce00f9af07783997929f5f8b (diff) | |
| download | external_parameter-framework-4c18b3a9a3bc1a8fc4317f0076716ebdc81af917.zip external_parameter-framework-4c18b3a9a3bc1a8fc4317f0076716ebdc81af917.tar.gz external_parameter-framework-4c18b3a9a3bc1a8fc4317f0076716ebdc81af917.tar.bz2  | |
Add comments in ctest list file
Mainly add a some documentation about the custom cmake
set_test_env function.
| -rw-r--r-- | ctest/CMakeLists.txt | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/ctest/CMakeLists.txt b/ctest/CMakeLists.txt index e9d6bb4..6ee2e10 100644 --- a/ctest/CMakeLists.txt +++ b/ctest/CMakeLists.txt @@ -26,11 +26,15 @@  # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS  # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Enable tests, coverage, memcheck, ... +# See http://www.cmake.org/Wiki/CMake/Testing_With_CTest#Dashboard_Preparation  include(CTest)  # Ctest requires its configuration to be placed at the build root  configure_file(${CMAKE_CURRENT_LIST_DIR}/CTestCustom.cmake ${CMAKE_BINARY_DIR} COPYONLY) +# Set environement variables so that executables and libraries can be find by tests. +# (avoids a make install before make test)  function(set_test_env TestName)      set_property(TEST ${TestName} PROPERTY ENVIRONMENT                   PATH=${CMAKE_RUNTIME_OUTPUT_DIRECTORY}:$ENV{PATH}  | 
