celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject celix git commit: CELIX-237: changed ADD_TARGET_FOR_TEST cmake usage to add_test
Date Tue, 13 Oct 2015 11:07:12 GMT
Repository: celix
Updated Branches:
  refs/heads/develop 7d4e4ec50 -> c6022aac2


CELIX-237: changed ADD_TARGET_FOR_TEST cmake usage to add_test


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/c6022aac
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/c6022aac
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/c6022aac

Branch: refs/heads/develop
Commit: c6022aac26269009816a1625ee0738d7269ff22c
Parents: 7d4e4ec
Author: Pepijn Noltes <pepijnnoltes@gmail.com>
Authored: Tue Oct 13 13:06:23 2015 +0200
Committer: Pepijn Noltes <pepijnnoltes@gmail.com>
Committed: Tue Oct 13 13:06:23 2015 +0200

----------------------------------------------------------------------
 utils/CMakeLists.txt | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/c6022aac/utils/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
index ce0811e..dfdb56b 100644
--- a/utils/CMakeLists.txt
+++ b/utils/CMakeLists.txt
@@ -78,17 +78,21 @@ if (UTILS)
 	    #run_test(hash_map_test)
 	    #run_test(linked_list_test)
 	    
-	    ADD_TARGET_FOR_TEST(array_list_test)
-       SETUP_TARGET_FOR_COVERAGE(array_list array_list_test ${CMAKE_BINARY_DIR}/coverage/array_list_test/array_list_test)
+	    #ADD_TARGET_FOR_TEST(array_list_test)
+ 		add_test(NAME run_array_list_test COMMAND array_list_test)
+       	SETUP_TARGET_FOR_COVERAGE(array_list array_list_test ${CMAKE_BINARY_DIR}/coverage/array_list_test/array_list_test)
 
- 	    ADD_TARGET_FOR_TEST(hash_map_test)
-       SETUP_TARGET_FOR_COVERAGE(hash_map hash_map_test ${CMAKE_BINARY_DIR}/coverage/hash_map_test/hash_map_test)
+ 	    #ADD_TARGET_FOR_TEST(hash_map_test)
+		add_test(NAME run_hash_map_test COMMAND hash_map_test)
+       	SETUP_TARGET_FOR_COVERAGE(hash_map hash_map_test ${CMAKE_BINARY_DIR}/coverage/hash_map_test/hash_map_test)
        
-       ADD_TARGET_FOR_TEST(celix_threads_test)
-       SETUP_TARGET_FOR_COVERAGE(celix_threads celix_threads_test ${CMAKE_BINARY_DIR}/coverage/celix_threads_test/celix_threads_test)
+       	#ADD_TARGET_FOR_TEST(celix_threads_test)
+		add_test(NAME run_celix_threads_test COMMAND celix_threads_test)
+       	SETUP_TARGET_FOR_COVERAGE(celix_threads celix_threads_test ${CMAKE_BINARY_DIR}/coverage/celix_threads_test/celix_threads_test)
 
-	    ADD_TARGET_FOR_TEST(linked_list_test)
-       SETUP_TARGET_FOR_COVERAGE(linked_list linked_list_test ${CMAKE_BINARY_DIR}/coverage/linked_list_test/linked_list_test)
+	    #ADD_TARGET_FOR_TEST(linked_list_test)
+		add_test(NAME run_linked_list_test COMMAND linked_list_test)
+       	SETUP_TARGET_FOR_COVERAGE(linked_list linked_list_test ${CMAKE_BINARY_DIR}/coverage/linked_list_test/linked_list_test)
 
    endif(UTILS-TESTS)
 endif (UTILS)


Mime
View raw message