| 1 | # Boost Filesystem Library test Jamfile |
|---|
| 2 | |
|---|
| 3 | # Copyright Beman Dawes 2003 |
|---|
| 4 | |
|---|
| 5 | # Use, modification, and distribution is subject to the Boost Software |
|---|
| 6 | # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
|---|
| 7 | # http://www.boost.org/LICENSE_1_0.txt) |
|---|
| 8 | |
|---|
| 9 | # See library home page at http://www.boost.org/libs/filesystem |
|---|
| 10 | |
|---|
| 11 | subproject libs/filesystem/test ; |
|---|
| 12 | |
|---|
| 13 | # bring in rules for testing |
|---|
| 14 | import testing ; |
|---|
| 15 | |
|---|
| 16 | # Make tests run by default. |
|---|
| 17 | DEPENDS all : test ; |
|---|
| 18 | |
|---|
| 19 | { |
|---|
| 20 | # look in BOOST_ROOT for sources first, just in this Jamfile |
|---|
| 21 | local SEARCH_SOURCE = $(BOOST_ROOT) $(SEARCH_SOURCE) ; |
|---|
| 22 | |
|---|
| 23 | test-suite "filesystem" |
|---|
| 24 | : [ run libs/filesystem/test/path_test.cpp |
|---|
| 25 | <lib>../build/boost_filesystem |
|---|
| 26 | : : : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_STATIC_LINK |
|---|
| 27 | ] |
|---|
| 28 | : [ run libs/filesystem/test/path_test.cpp |
|---|
| 29 | <dll>../build/boost_filesystem |
|---|
| 30 | : : : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_DYN_LINK <runtime-link>dynamic |
|---|
| 31 | : path_test_dll |
|---|
| 32 | ] |
|---|
| 33 | [ run libs/filesystem/test/default_name_check_test.cpp |
|---|
| 34 | <lib>../build/boost_filesystem |
|---|
| 35 | : : : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_STATIC_LINK |
|---|
| 36 | ] |
|---|
| 37 | [ run libs/filesystem/test/operations_test.cpp |
|---|
| 38 | <lib>../build/boost_filesystem |
|---|
| 39 | : : : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_STATIC_LINK |
|---|
| 40 | ] |
|---|
| 41 | [ run libs/filesystem/test/operations_test.cpp |
|---|
| 42 | <dll>../build/boost_filesystem |
|---|
| 43 | : : : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_DYN_LINK <runtime-link>dynamic |
|---|
| 44 | : operations_test_dll |
|---|
| 45 | ] |
|---|
| 46 | [ run libs/filesystem/test/fstream_test.cpp |
|---|
| 47 | <lib>../build/boost_filesystem |
|---|
| 48 | : : : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_STATIC_LINK |
|---|
| 49 | |
|---|
| 50 | ] |
|---|
| 51 | [ run libs/filesystem/test/convenience_test.cpp |
|---|
| 52 | <lib>../build/boost_filesystem |
|---|
| 53 | : : : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_STATIC_LINK |
|---|
| 54 | ] |
|---|
| 55 | [ run libs/filesystem/test/large_file_support_test.cpp |
|---|
| 56 | <lib>../build/boost_filesystem |
|---|
| 57 | : : : <define>BOOST_ALL_NO_LIB <define>BOOST_FILESYSTEM_STATIC_LINK |
|---|
| 58 | ] |
|---|
| 59 | ; |
|---|
| 60 | } |
|---|