Files
filesystem/test/Jamfile.v2

48 lines
3.2 KiB
Plaintext

# Boost Filesystem Library test Jamfile
# (C) Copyright Beman Dawes 2002-2006
# Distributed under the Boost Software License, Version 1.0.
# See www.boost.org/LICENSE_1_0.txt
import os ;
local op_test_temp = [ os.environ BOOST_FILESYSTEM_OPERATIONS_TEST_TEMP ] ;
ECHO $(op_test_temp) ;
project
: requirements # set requirements that apply to entire project
<library>/boost/filesystem//boost_filesystem
<library>/boost/system//boost_system
<toolset>msvc:<asynch-exceptions>on
<test-info>always_show_run_output
;
# Some tests are run both statically and as shared libraries since Filesystem
# has a history of bugs that appear only in one type of build or the other.
test-suite "filesystem" :
[ run convenience_test.cpp ]
[ compile macro_default_test.cpp ]
[ run odr1_test.cpp odr2_test.cpp ]
[ run deprecated_test.cpp ]
[ run fstream_test.cpp ]
[ run large_file_support_test.cpp ]
[ run locale_info.cpp ]
[ run operations_test.cpp : : : <define>BOOST_FILESYSTEM_OPERATIONS_TEST_TEMP="$(op_test_temp)" <link>shared <define>BOOST_FILESYSTEM_VERSION=3 : operations_test_shared_v3 ]
[ run operations_test.cpp : : : <define>BOOST_FILESYSTEM_OPERATIONS_TEST_TEMP="$(op_test_temp)" <link>shared <define>BOOST_FILESYSTEM_VERSION=4 : operations_test_shared_v4 ]
[ run operations_test.cpp : : : <define>BOOST_FILESYSTEM_OPERATIONS_TEST_TEMP="$(op_test_temp)" <link>static <define>BOOST_FILESYSTEM_VERSION=3 : operations_test_static_v3 ]
[ run operations_test.cpp : : : <define>BOOST_FILESYSTEM_OPERATIONS_TEST_TEMP="$(op_test_temp)" <link>static <define>BOOST_FILESYSTEM_VERSION=4 : operations_test_static_v4 ]
[ run operations_unit_test.cpp : : : <link>shared <define>BOOST_FILESYSTEM_VERSION=3 : operations_unit_test_shared_v3 ]
[ run operations_unit_test.cpp : : : <link>shared <define>BOOST_FILESYSTEM_VERSION=4 : operations_unit_test_shared_v4 ]
[ run path_test.cpp : : : <link>shared <define>BOOST_FILESYSTEM_VERSION=3 : path_test_shared_v3 ]
[ run path_test.cpp : : : <link>shared <define>BOOST_FILESYSTEM_VERSION=4 : path_test_shared_v4 ]
[ run path_test.cpp : : : <link>static <define>BOOST_FILESYSTEM_VERSION=3 : path_test_static_v3 ]
[ run path_test.cpp : : : <link>static <define>BOOST_FILESYSTEM_VERSION=4 : path_test_static_v4 ]
[ run path_unit_test.cpp : : : <link>shared <define>BOOST_FILESYSTEM_VERSION=3 : path_unit_test_shared_v3 ]
[ run path_unit_test.cpp : : : <link>shared <define>BOOST_FILESYSTEM_VERSION=4 : path_unit_test_shared_v4 ]
[ run path_unit_test.cpp : : : <link>static <define>BOOST_FILESYSTEM_VERSION=3 : path_unit_test_static_v3 ]
[ run path_unit_test.cpp : : : <link>static <define>BOOST_FILESYSTEM_VERSION=4 : path_unit_test_static_v4 ]
[ run ../example/simple_ls.cpp ]
[ run ../example/file_status.cpp ]
;