# Hamigaki Iostreams Library Test Jamfile

#  Copyright Takeshi Mouri 2006.
#  Use, modification, and distribution are subject to 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)

subproject libs/iostreams/test ;

import testing ;

DEPENDS all : test ;

rule iostreams-test ( sources + : requirements * )
{
    return [
        run $(sources)
        :
        :
        :
        <define>BOOST_ALL_NO_LIB=1
        <include>$(HAMIGAKI_ROOT)  <sysinclude>$(HAMIGAKI_ROOT)
        <include>$(BOOST_INCLUDE)  <sysinclude>$(BOOST_INCLUDE)
        <library-path>$(BOOST_LIBPATH)
        <threading>multi
        <vc-8_0><*><runtime-link>static
        <vc-8_0><*><cflags>-wd4996
        <vc-8_0><*><cflags>-wd4819
        find-boost-unit_test_framework-lib
        $(requirements)
    ] ;
}

test-suite iostreams :
    [ iostreams-test copy_manager_test.cpp : find-boost-thread-lib ]
    [ iostreams-test concatenate_test.cpp : ]
    [ iostreams-test lazy_restrict_test.cpp : ]
    [ iostreams-test loop_test.cpp : ]
    ;
