rule test-iostreams ( sources * : requirements * : target-name ? ) { return [ run $(sources) : # command : # input files : # build requirements BOOST_IOSTREAMS_NO_LIB shared:BOOST_IOSTREAMS_DYN_LINK=1 $(requirements) : $(target-name) ] ; } local all-tests = [ test-iostreams KenApplebyStrm.cpp ../../../../../../libs/iostreams/build//boost_iostreams ] ; test-suite "iostreams" : $(all-tests) ;