Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53008 - in branches/release/libs: unordered unordered/test unordered/test/exception unordered/test/unordered utility utility/enable_if/test utility/swap/test
From: troy_at_[hidden]
Date: 2009-05-14 20:21:16


Author: troy
Date: 2009-05-14 20:21:14 EDT (Thu, 14 May 2009)
New Revision: 53008
URL: http://svn.boost.org/trac/boost/changeset/53008

Log:
tuning up cmakefiles for unordered, utility
Added:
   branches/release/libs/unordered/test/exception/CMakeLists.txt (contents, props changed)
   branches/release/libs/unordered/test/unordered/CMakeLists.txt (contents, props changed)
   branches/release/libs/utility/enable_if/test/CMakeLists.txt (contents, props changed)
   branches/release/libs/utility/swap/test/CMakeLists.txt (contents, props changed)
Text files modified:
   branches/release/libs/unordered/CMakeLists.txt | 2
   branches/release/libs/unordered/test/CMakeLists.txt | 61 +--------------------------------------
   branches/release/libs/utility/CMakeLists.txt | 2
   3 files changed, 4 insertions(+), 61 deletions(-)

Modified: branches/release/libs/unordered/CMakeLists.txt
==============================================================================
--- branches/release/libs/unordered/CMakeLists.txt (original)
+++ branches/release/libs/unordered/CMakeLists.txt 2009-05-14 20:21:14 EDT (Thu, 14 May 2009)
@@ -11,7 +11,7 @@
 boost_library_project(
   unordered
   # SRCDIRS
- # TESTDIRS
+ TESTDIRS test
   HEADERS ${lib_headers}
   # DOCDIRS
   # DESCRIPTION

Modified: branches/release/libs/unordered/test/CMakeLists.txt
==============================================================================
--- branches/release/libs/unordered/test/CMakeLists.txt (original)
+++ branches/release/libs/unordered/test/CMakeLists.txt 2009-05-14 20:21:14 EDT (Thu, 14 May 2009)
@@ -12,64 +12,7 @@
 
 set (swap_compile_flags "${test_compile_flags} -DBOOST_UNORDERED_SWAP_METHOD=2")
 
-#-------------------------------------------------------------------------------
-# Unordered Tests
-set (unordered_tests
- fwd_set_test
- fwd_map_test
- compile_set
- compile_map
- link_test_1
- link_test_2
- simple_tests
- equivalent_keys_tests
- constructor_tests
- copy_tests
- move_tests.cpp
- assign_tests
- insert_tests
- insert_stable_tests
- unnecessary_copy_tests
- erase_tests
- erase_equiv_tests
- find_tests
- at_tests
- bucket_tests
- load_factor_tests
- rehash_tests
- equality_tests
-)
-#-- Create an executable test for each source
-foreach(test ${unordered_tests})
- boost_test_run(${test} "unordered/${test}.cpp"
- COMPILE_FLAGS ${test_compile_flags}
- DEPENDS boost_unit_test_framework)
-endforeach(test ${unordered_tests})
 
-#-- run the swap test
-boost_test_run(swap_tests
- COMPILE_FLAGS ${swap_compile_flags}
- DEPENDS boost_unit_test_framework)
 
-#-------------------------------------------------------------------------------
-# Exception Tests
-set (exception_tests
- constructor_exception_tests
- copy_exception_tests
- assign_exception_tests
- insert_exception_tests
- erase_exception_tests
- rehash_exception_tests
-)
-
-#-- Create an executable test for each source
-foreach(test ${exception_tests})
- boost_test_run(${test} "exception/${test}.cpp"
- COMPILE_FLAGS ${test_compile_flags}
- DEPENDS boost_unit_test_framework)
-endforeach(test ${unordered_tests})
-
-#-- run the swap test
-boost_test_run(swap_swap_exception_tests
- COMPILE_FLAGS ${swap_compile_flags}
- DEPENDS boost_unit_test_framework)
+add_subdirectory(exception)
+add_subdirectory(unordered)
\ No newline at end of file

Added: branches/release/libs/unordered/test/exception/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/release/libs/unordered/test/exception/CMakeLists.txt 2009-05-14 20:21:14 EDT (Thu, 14 May 2009)
@@ -0,0 +1,19 @@
+
+foreach(test
+ constructor_exception_tests
+ copy_exception_tests
+ assign_exception_tests
+ insert_exception_tests
+ erase_exception_tests
+ rehash_exception_tests
+ )
+ boost_test_run(${test}
+ COMPILE_FLAGS ${test_compile_flags}
+ DEPENDS boost_unit_test_framework)
+endforeach(test ${unordered_tests})
+
+#-- run the swap test
+boost_test_run(swap_exception_tests
+ COMPILE_FLAGS ${swap_compile_flags}
+ DEPENDS boost_unit_test_framework)
+

Added: branches/release/libs/unordered/test/unordered/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/release/libs/unordered/test/unordered/CMakeLists.txt 2009-05-14 20:21:14 EDT (Thu, 14 May 2009)
@@ -0,0 +1,37 @@
+#-------------------------------------------------------------------------------
+# Unordered Tests
+foreach(test
+ fwd_set_test
+ fwd_map_test
+ compile_set
+ compile_map
+ simple_tests
+ equivalent_keys_tests
+ constructor_tests
+ copy_tests
+ move_tests
+ assign_tests
+ insert_tests
+ insert_stable_tests
+ unnecessary_copy_tests
+ erase_tests
+ erase_equiv_tests
+ find_tests
+ at_tests
+ bucket_tests
+ load_factor_tests
+ rehash_tests
+ equality_tests
+ )
+ boost_test_run(${test}
+ COMPILE_FLAGS ${test_compile_flags}
+ DEPENDS boost_unit_test_framework)
+endforeach()
+
+boost_test_run(link_test link_test_1.cpp link_test_2.cpp)
+
+#-- run the swap test
+boost_test_run(swap_tests
+ COMPILE_FLAGS ${swap_compile_flags}
+ DEPENDS boost_unit_test_framework)
+

Modified: branches/release/libs/utility/CMakeLists.txt
==============================================================================
--- branches/release/libs/utility/CMakeLists.txt (original)
+++ branches/release/libs/utility/CMakeLists.txt 2009-05-14 20:21:14 EDT (Thu, 14 May 2009)
@@ -17,7 +17,7 @@
 boost_library_project(
   utility
   # SRCDIRS
- TESTDIRS test swap/test
+ TESTDIRS test swap/test enable_if/test
   HEADERS ${lib_headers}
   # DOCDIRS
   DESCRIPTION "Various small utilities for C++ programming."

Added: branches/release/libs/utility/enable_if/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/release/libs/utility/enable_if/test/CMakeLists.txt 2009-05-14 20:21:14 EDT (Thu, 14 May 2009)
@@ -0,0 +1,14 @@
+foreach(T
+ constructors
+ dummy_arg_disambiguation
+ lazy
+ lazy_test
+ member_templates
+ namespace_disambiguation
+ no_disambiguation
+ partial_specializations
+ )
+ boost_test_run(${T} DEPENDS boost_test_exec_monitor)
+endforeach()
+
+

Added: branches/release/libs/utility/swap/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ branches/release/libs/utility/swap/test/CMakeLists.txt 2009-05-14 20:21:14 EDT (Thu, 14 May 2009)
@@ -0,0 +1,35 @@
+
+foreach(T
+ root_header_1 root_header_2
+ lib_header_1 lib_header_2
+ mixed_headers_1 mixed_headers_2)
+ boost_test_compile(${T})
+endforeach()
+
+
+# [ run primitive.cpp ../../../test/build//boost_test_exec_monitor/<link>static ]
+
+
+foreach(T
+ primitive
+ specialized_in_boost
+ specialized_in_global
+ specialized_in_other
+ specialized_in_std
+ specialized_in_boost_and_other
+ std_bitset
+ std_dateorder
+ std_string
+ std_typeinfo_ptr
+ std_vector_of_boost
+ std_vector_of_global
+ std_vector_of_other
+ no_ambiguity_in_boost
+ array_of_array_of_class
+ array_of_array_of_int
+ array_of_class
+ array_of_int
+ array_of_template)
+ boost_test_run(${T} DEPENDS boost_test_exec_monitor)
+endforeach()
+


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk