mirror of
https://github.com/boostorg/filesystem.git
synced 2026-01-30 07:52:08 +00:00
63 lines
2.4 KiB
Plaintext
63 lines
2.4 KiB
Plaintext
# 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/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
|
|
]
|
|
[ run libs/filesystem/test/wide_test.cpp
|
|
<lib>../build/boost_filesystem
|
|
: : : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_STATIC_LINK
|
|
]
|
|
[ compile libs/filesystem/example/mbcopy.cpp ]
|
|
[ compile libs/filesystem/example/mbpath.cpp ]
|
|
[ compile libs/filesystem/example/simple_ls.cpp ]
|
|
;
|
|
}
|