Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2007-05-17 11:23:48


Author: dgregor
Date: 2007-05-17 10:56:25 EDT (Thu, 17 May 2007)
New Revision: 4094
URL: http://svn.boost.org/trac/boost/changeset/4094

Log:
Add array tests, clean up naming of some tests

Added:
   sandbox/troy/boost_1_34_0/libs/array/test/
   sandbox/troy/boost_1_34_0/libs/array/test/CMakeLists.txt
Text files modified:
   sandbox/troy/boost_1_34_0/libs/any/test/CMakeLists.txt | 2 +-
   sandbox/troy/boost_1_34_0/libs/array/CMakeLists.txt | 6 ++++--
   sandbox/troy/boost_1_34_0/libs/concept_check/test/CMakeLists.txt | 8 ++++----
   sandbox/troy/boost_1_34_0/libs/conversion/test/CMakeLists.txt | 10 +++++++---
   sandbox/troy/boost_1_34_0/libs/crc/test/CMakeLists.txt | 2 +-
   sandbox/troy/boost_1_34_0/libs/filesystem/test/CMakeLists.txt | 6 +++---
   6 files changed, 20 insertions(+), 14 deletions(-)

Modified: sandbox/troy/boost_1_34_0/libs/any/test/CMakeLists.txt
==============================================================================
--- sandbox/troy/boost_1_34_0/libs/any/test/CMakeLists.txt (original)
+++ sandbox/troy/boost_1_34_0/libs/any/test/CMakeLists.txt 2007-05-17 10:56:25 EDT (Thu, 17 May 2007)
@@ -1,3 +1,3 @@
-boost_test_run(../any_test)
+boost_test_run(any_test SOURCES ../any_test.cpp)
 boost_test_run(any_to_ref_test DEPENDS boost_test_exec_monitor-static)
 

Modified: sandbox/troy/boost_1_34_0/libs/array/CMakeLists.txt
==============================================================================
--- sandbox/troy/boost_1_34_0/libs/array/CMakeLists.txt (original)
+++ sandbox/troy/boost_1_34_0/libs/array/CMakeLists.txt 2007-05-17 10:56:25 EDT (Thu, 17 May 2007)
@@ -1,2 +1,4 @@
-MESSAGE("***** NO JAMFILE FOR ARRAY?!? *****")
-
+boost_library_subproject(
+ Array
+ TESTDIRS test
+)

Added: sandbox/troy/boost_1_34_0/libs/array/test/CMakeLists.txt
==============================================================================
--- (empty file)
+++ sandbox/troy/boost_1_34_0/libs/array/test/CMakeLists.txt 2007-05-17 10:56:25 EDT (Thu, 17 May 2007)
@@ -0,0 +1,6 @@
+boost_test_run(array0 SOURCES ../array0.cpp)
+boost_test_run(array1 SOURCES ../array1.cpp)
+boost_test_run(array2 SOURCES ../array2.cpp)
+boost_test_run(array3 SOURCES ../array3.cpp)
+boost_test_run(array4 SOURCES ../array4.cpp)
+boost_test_run(array5 SOURCES ../array5.cpp)
\ No newline at end of file

Modified: sandbox/troy/boost_1_34_0/libs/concept_check/test/CMakeLists.txt
==============================================================================
--- sandbox/troy/boost_1_34_0/libs/concept_check/test/CMakeLists.txt (original)
+++ sandbox/troy/boost_1_34_0/libs/concept_check/test/CMakeLists.txt 2007-05-17 10:56:25 EDT (Thu, 17 May 2007)
@@ -1,6 +1,6 @@
 # this fails but looks like it isn't the build
 # boost_test_run(../stl_concept_covering)
-boost_test_run(../concept_check_test)
-boost_test_run(../class_concept_check_test)
-boost_test_compile_fail(../concept_check_fail_expected)
-boost_test_compile_fail(../class_concept_fail_expected)
+boost_test_run(concept_check_test SOURCES ../concept_check_test.cpp)
+boost_test_run(class_concept_check_test SOURCES ../class_concept_check_test.cpp)
+boost_test_compile_fail(concept_check_fail_expected SOURCES ../concept_check_fail_expected.cpp)
+boost_test_compile_fail(class_concept_fail_expected SOURCES ../class_concept_fail_expected.cpp)

Modified: sandbox/troy/boost_1_34_0/libs/conversion/test/CMakeLists.txt
==============================================================================
--- sandbox/troy/boost_1_34_0/libs/conversion/test/CMakeLists.txt (original)
+++ sandbox/troy/boost_1_34_0/libs/conversion/test/CMakeLists.txt 2007-05-17 10:56:25 EDT (Thu, 17 May 2007)
@@ -1,8 +1,12 @@
 boost_test_run(implicit_cast)
 boost_test_compile_fail(implicit_cast_fail)
-boost_test_run(../cast_test)
-boost_test_run(../numeric_cast_test)
-boost_test_run(../lexical_cast_test DEPENDS boost_unit_test_framework-static)
+boost_test_run(cast_test SOURCES ../cast_test.cpp)
+boost_test_run(numeric_cast_test SOURCES ../numeric_cast_test.cpp)
+boost_test_run(
+ lexical_cast_test
+ SOURCES ../lexical_cast_test.cpp
+ DEPENDS boost_unit_test_framework-static
+)
 
 
       

Modified: sandbox/troy/boost_1_34_0/libs/crc/test/CMakeLists.txt
==============================================================================
--- sandbox/troy/boost_1_34_0/libs/crc/test/CMakeLists.txt (original)
+++ sandbox/troy/boost_1_34_0/libs/crc/test/CMakeLists.txt 2007-05-17 10:56:25 EDT (Thu, 17 May 2007)
@@ -1,2 +1,2 @@
-boost_test_run(../crc_test)
+boost_test_run(crc_test SOURCES ../crc_test.cpp)
 

Modified: sandbox/troy/boost_1_34_0/libs/filesystem/test/CMakeLists.txt
==============================================================================
--- sandbox/troy/boost_1_34_0/libs/filesystem/test/CMakeLists.txt (original)
+++ sandbox/troy/boost_1_34_0/libs/filesystem/test/CMakeLists.txt 2007-05-17 10:56:25 EDT (Thu, 17 May 2007)
@@ -15,7 +15,7 @@
     COMPILE_FLAGS -DBOOST_FILESYSTEM_DYN_LINK)
 ENDFOREACH(test ${TESTS})
 
-boost_test_compile(../example/mbcopy)
-boost_test_compile(../example/mbpath)
-boost_test_compile(../example/simple_ls)
+boost_test_compile(mbcopy SOURCES ../example/mbcopy.cpp)
+boost_test_compile(mbpath SOURCES ../example/mbpath.cpp)
+boost_test_compile(simple_ls SOURCES ../example/simple_ls.cpp)
 


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