Files
iostreams/test/Jamfile
Jonathan Turkanis 732fa1b0a6 commented out compression tests
[SVN r27317]
2005-02-10 21:11:29 +00:00

102 lines
3.6 KiB
Plaintext
Executable File

# Boost.Iostreams Library test Jamfile
# (C) Copyright Jonathan Turkanis 2004
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
# See http://www.boost.org/libs/iostreams for documentation.
subproject libs/iostreams/test ;
# bring in rules for testing
import testing ;
# import compression libraries
import $(BOOST_ROOT)/libs/iostreams/build/bzip2.jam ;
import $(BOOST_ROOT)/libs/iostreams/build/zlib.jam ;
# Make tests run by default.
DEPENDS all : test ;
{
# look in BOOST_ROOT for sources first, just in this Jamfile
local SEARCH_SOURCE = $(BOOST_ROOT) $(SEARCH_SOURCE) ;
template bzip2
: # sources
<template>basic
<lib>../build/boost_iostreams
<lib>../build/boost_bzip2
: # build requirements
<define>BOOST_IOSTREAMS_NO_LIB
: # build variants
;
template zlib
: # sources
<template>basic
<lib>../build/boost_iostreams
<lib>../build/boost_zlib
: # build requirements
<define>BOOST_IOSTREAMS_NO_LIB
: # build variants
;
rule test-iostreams ( sources * : requirements * ) {
return [
run
$(sources)
<lib>../../test/build/boost_unit_test_framework
: # command
: # input files
: # build requirements
<define>BOOST_IOSTREAMS_NO_LIB
$(requirements)
] ;
}
test-suite "iostreams"
: [ test-iostreams libs/iostreams/test/array_test.cpp ]
[ test-iostreams
libs/iostreams/test/code_converter_test.cpp
libs/iostreams/src/file_descriptor.cpp
libs/iostreams/test/detail/utf8_codecvt_facet.cpp
: # build requirements
std::locale-support ]
[ test-iostreams libs/iostreams/test/copy_test.cpp ]
[ test-iostreams libs/iostreams/test/direct_adapter_test.cpp ]
[ test-iostreams
libs/iostreams/test/file_descriptor_test.cpp
libs/iostreams/src/file_descriptor.cpp ]
[ test-iostreams libs/iostreams/test/filtering_stream_test.cpp ]
[ test-iostreams
libs/iostreams/test/mapped_file_test.cpp
libs/iostreams/src/mapped_file.cpp ]
[ test-iostreams libs/iostreams/test/newline_filter_test.cpp ]
[ test-iostreams libs/iostreams/test/pipable_test.cpp ]
[ test-iostreams
libs/iostreams/test/regex_filter_test.cpp
<lib>../../regex/build/boost_regex ]
[ test-iostreams libs/iostreams/test/reverse_test.cpp ]
[ test-iostreams libs/iostreams/test/seekable_file_test.cpp ]
[ test-iostreams libs/iostreams/test/seekable_filter_test.cpp ]
[ test-iostreams libs/iostreams/test/symmetric_filter_test.cpp ]
[ test-iostreams libs/iostreams/test/wide_stream_test.cpp ]
#[ test-iostreams
# libs/iostreams/test/bzip2_test.cpp
# <template>bzip2
# : # build requirements
# <define>BOOST_IOSTREAMS_NO_LIB ]
#[ test-iostreams
# libs/iostreams/test/gzip_test.cpp
# <template>zlib
# : # build requirements
# <define>BOOST_IOSTREAMS_NO_LIB ]
#[ test-iostreams
# libs/iostreams/test/zlib_test.cpp
# <template>zlib
# : # build requirements
# <define>BOOST_IOSTREAMS_NO_LIB ]
;
}