summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmre Ucan <eucan@de.adit-jv.com>2017-04-19 15:01:33 +0200
committerEmre Ucan <eucan@de.adit-jv.com>2017-04-19 15:03:28 +0200
commitd0b4e21152a0b5c90db50a18671fe4896126950c (patch)
treef730e170a537a5e3b9d86db75839475678a028e1
parentd92df2fffb2a62970a4e0d5a54912764fe964ea8 (diff)
downloadwayland-ivi-extension-d0b4e21152a0b5c90db50a18671fe4896126950c.tar.gz
cmake: remove INSTALL_ILM_API_TESTS option
there is already on option for building test. If we built them already, we should also install them.
-rw-r--r--README4
-rw-r--r--ivi-input-api/test/CMakeLists.txt4
-rw-r--r--ivi-layermanagement-api/test/CMakeLists.txt4
3 files changed, 4 insertions, 8 deletions
diff --git a/README b/README
index 2762edb..a292d37 100644
--- a/README
+++ b/README
@@ -57,8 +57,8 @@ EGLWLMockNavigation:
How to test
====================================
-1. Build the testsuite by setting BUILD_ILM_API_TESTS and INSTALL_ILM_API_TESTS options.
- Example: cmake -DBUILD_ILM_API_TESTS -DINSTALL_ILM_API_TESTS
+1. Build the testsuite by setting BUILD_ILM_API_TESTS option.
+ Example: cmake -DBUILD_ILM_API_TESTS
2. After starting up Weston run the testsuite.
Example: <your installation path>/bin/ivi-layermanagement-api-test
<your installation path>/bin/ivi-input-api-test
diff --git a/ivi-input-api/test/CMakeLists.txt b/ivi-input-api/test/CMakeLists.txt
index b684a2f..5c6f9ff 100644
--- a/ivi-input-api/test/CMakeLists.txt
+++ b/ivi-input-api/test/CMakeLists.txt
@@ -64,9 +64,7 @@ IF(BUILD_ILM_API_TESTS)
ADD_DEPENDENCIES(${PROJECT_NAME} ${LIBS})
- IF(INSTALL_ILM_API_TESTS)
- INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
- ENDIF()
+ INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
# use CTest
ENABLE_TESTING()
diff --git a/ivi-layermanagement-api/test/CMakeLists.txt b/ivi-layermanagement-api/test/CMakeLists.txt
index 6b2ccdd..189400d 100644
--- a/ivi-layermanagement-api/test/CMakeLists.txt
+++ b/ivi-layermanagement-api/test/CMakeLists.txt
@@ -62,9 +62,7 @@ IF(BUILD_ILM_API_TESTS)
ADD_DEPENDENCIES(${PROJECT_NAME} ${LIBS})
- IF(INSTALL_ILM_API_TESTS)
- INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
- ENDIF()
+ INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
# use CTest
ENABLE_TESTING()