Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/iostreams/test/Jamfile.v2 @ 29

Last change on this file since 29 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

File size: 3.4 KB
Line 
1# Boost.Iostreams Library test Jamfile
2
3# (C) Copyright Jonathan Turkanis 2004
4# Distributed under the Boost Software License, Version 1.0. (See accompanying
5# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
6
7# See http://www.boost.org/libs/iostreams for documentation.
8
9import stlport ;
10import modules ;
11
12local NO_BZIP2 = [ modules.peek : NO_BZIP2 ] ;
13local NO_ZLIB = [ modules.peek : NO_ZLIB ] ;
14
15
16rule test-iostreams ( sources * : requirements * ) {
17    return [
18            run
19                $(sources)
20                /boost/test//boost_unit_test_framework/<link>static
21            : # command
22            : # input files
23            : # build requirements
24                <toolset>msvc,<stdlib>stlport:<runtime-link>static
25                <toolset>cw-9.3,<os>darwin:<runtime-link>static
26                <define>BOOST_IOSTREAMS_NO_LIB
27                <link>shared:<define>BOOST_IOSTREAMS_DYN_LINK=1
28                $(requirements)
29        ] ;
30}
31
32
33    local all-tests =
34          [ test-iostreams array_test.cpp ]
35          [ test-iostreams auto_close_test.cpp ]
36          [ test-iostreams buffer_size_test.cpp ]
37          [ test-iostreams
38                code_converter_test.cpp   
39                detail/utf8_codecvt_facet.cpp ]
40                         
41              #: # build requirements
42              #  std::locale-support ]   
43          [ test-iostreams compose_test.cpp ]
44          [ test-iostreams component_access_test.cpp ]
45          [ test-iostreams copy_test.cpp ]
46          [ test-iostreams counter_test.cpp ]
47          [ test-iostreams direct_adapter_test.cpp ]
48          [ test-iostreams example_test.cpp ]
49          [ test-iostreams file_test.cpp ]
50          [ test-iostreams
51                file_descriptor_test.cpp
52                ../build//boost_iostreams : <link>static ]
53          [ test-iostreams filtering_stream_test.cpp ]
54          [ test-iostreams
55                finite_state_filter_test.cpp
56              : # build requirements
57                # FIXME: yet to implement
58                #std::locale-support
59          ]
60
61          [ test-iostreams flush_test.cpp ]
62          [ test-iostreams invert_test.cpp ]
63          [ test-iostreams line_filter_test.cpp ]
64          [ test-iostreams
65                mapped_file_test.cpp
66                ../build//boost_iostreams : <link>static ]
67          [ test-iostreams newline_test.cpp ]
68          [ test-iostreams null_test.cpp ]
69          [ test-iostreams pipeline_test.cpp ]
70          [ test-iostreams positioning_test.cpp ]
71          [ test-iostreams
72                regex_filter_test.cpp     
73                /boost/regex//boost_regex ]
74          [ test-iostreams restrict_test.cpp ]
75          [ test-iostreams seekable_file_test.cpp ]
76          [ test-iostreams seekable_filter_test.cpp ]
77          [ test-iostreams stdio_filter_test.cpp ]
78          [ test-iostreams symmetric_filter_test.cpp ]
79          [ test-iostreams tee_test.cpp ]
80          [ test-iostreams wide_stream_test.cpp ]
81          ; 
82
83      if ! $(NO_BZIP2)
84      {     
85          all-tests += [ test-iostreams
86              bzip2_test.cpp ../build//boost_iostreams ] ;
87      }         
88      if ! $(NO_ZLIB)
89      {             
90          all-tests += [ test-iostreams
91                         gzip_test.cpp ../build//boost_iostreams ]
92                       [ test-iostreams
93                         zlib_test.cpp ../build//boost_iostreams ] ;
94      }         
95         
96    test-suite "iostreams" : $(all-tests) ;
97   
Note: See TracBrowser for help on using the repository browser.