|
Boost-Commit : |
From: technews_at_[hidden]
Date: 2007-12-29 01:37:23
Author: turkanis
Date: 2007-12-29 01:37:22 EST (Sat, 29 Dec 2007)
New Revision: 42327
URL: http://svn.boost.org/trac/boost/changeset/42327
Log:
added support for large_file_test.cpp
Text files modified:
branches/iostreams_dev/libs/iostreams/test/Jamfile.v2 | 48 ++++++++++++++++++++++++---------------
1 files changed, 29 insertions(+), 19 deletions(-)
Modified: branches/iostreams_dev/libs/iostreams/test/Jamfile.v2
==============================================================================
--- branches/iostreams_dev/libs/iostreams/test/Jamfile.v2 (original)
+++ branches/iostreams_dev/libs/iostreams/test/Jamfile.v2 2007-12-29 01:37:22 EST (Sat, 29 Dec 2007)
@@ -11,7 +11,8 @@
local NO_BZIP2 = [ modules.peek : NO_BZIP2 ] ;
local NO_ZLIB = [ modules.peek : NO_ZLIB ] ;
-
+local LARGE_FILE_TEMP = [ modules.peek : LARGE_FILE_TEMP ] ;
+local LARGE_FILE_KEEP = [ modules.peek : LARGE_FILE_KEEP ] ;
rule test-iostreams ( sources * : requirements * ) {
return [
@@ -30,7 +31,6 @@
] ;
}
-
local all-tests =
[ test-iostreams array_test.cpp ]
[ test-iostreams auto_close_test.cpp ]
@@ -39,9 +39,6 @@
[ test-iostreams
code_converter_test.cpp
detail/utf8_codecvt_facet.cpp ]
-
- #: # build requirements
- # std::locale-support ]
[ test-iostreams compose_test.cpp ]
[ test-iostreams component_access_test.cpp ]
[ test-iostreams copy_test.cpp ]
@@ -54,13 +51,7 @@
file_descriptor_test.cpp
../build//boost_iostreams : <link>static ]
[ test-iostreams filtering_stream_test.cpp ]
- [ test-iostreams
- finite_state_filter_test.cpp
- : # build requirements
- # FIXME: yet to implement
- #std::locale-support
- ]
-
+ [ test-iostreams finite_state_filter_test.cpp ]
[ test-iostreams flush_test.cpp ]
[ test-iostreams invert_test.cpp ]
[ test-iostreams line_filter_test.cpp ]
@@ -87,18 +78,37 @@
[ test-iostreams wide_stream_test.cpp ]
;
+ if $(LARGE_FILE_KEEP)
+ {
+ all-tests +=
+ [ test-iostreams
+ large_file_test.cpp
+ ../build//boost_iostreams
+ : <define>LARGE_FILE_KEEP=$(LARGE_FILE_KEEP)
+ $(KEEP) ] ;
+ }
+ if $(LARGE_FILE_TEMP) && !$(LARGE_FILE_KEEP)
+ {
+ all-tests +=
+ [ test-iostreams
+ large_file_test.cpp
+ ../build//boost_iostreams
+ : <define>LARGE_FILE_TEMP=$(LARGE_FILE_TEMP)
+ $(KEEP) ] ;
+ }
if ! $(NO_BZIP2)
{
all-tests += [ test-iostreams
- bzip2_test.cpp ../build//boost_iostreams ] ;
- }
+ bzip2_test.cpp ../build//boost_iostreams ] ;
+ }
if ! $(NO_ZLIB)
{
- all-tests += [ test-iostreams
- gzip_test.cpp ../build//boost_iostreams ]
- [ test-iostreams
- zlib_test.cpp ../build//boost_iostreams ] ;
- }
+ all-tests +=
+ [ test-iostreams
+ gzip_test.cpp ../build//boost_iostreams ]
+ [ test-iostreams
+ zlib_test.cpp ../build//boost_iostreams ] ;
+ }
test-suite "iostreams" : $(all-tests) ;
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