Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

libs/filesystem/test/Jamfile

# Boost Filesystem Library test Jamfile

# Copyright Beman Dawes 2003

# Use, modification, and distribution is 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)

# See library home page at http://www.boost.org/libs/filesystem

subproject libs/filesystem/test ;

# bring in rules for testing
import testing ;

# 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) ;
    
   test-suite "filesystem"
       : [ run libs/filesystem/test/path_test.cpp
               <lib>../build/boost_filesystem
               :  :  : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_STATIC_LINK
         ]
       : [ run libs/filesystem/test/path_test.cpp
               <dll>../build/boost_filesystem
               :  :  : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_DYN_LINK <runtime-link>dynamic
               : path_test_dll
         ]
         [ run libs/filesystem/test/default_name_check_test.cpp
               <lib>../build/boost_filesystem
               :  :  : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_STATIC_LINK
         ]
         [ run libs/filesystem/test/operations_test.cpp
               <lib>../build/boost_filesystem
               :  :  : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_STATIC_LINK
         ]
         [ run libs/filesystem/test/operations_test.cpp
               <dll>../build/boost_filesystem
               :  :  : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_DYN_LINK <runtime-link>dynamic
               : operations_test_dll
         ]
         [ run libs/filesystem/test/fstream_test.cpp
               <lib>../build/boost_filesystem
               :  :  : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_STATIC_LINK

         ]
         [ run libs/filesystem/test/convenience_test.cpp
               <lib>../build/boost_filesystem
               :  :  : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_STATIC_LINK
         ]
         [ run libs/filesystem/test/large_file_support_test.cpp
               <lib>../build/boost_filesystem
               :  :  : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_STATIC_LINK
         ]
       ;
}