forked from boostorg/system
52 lines
2.2 KiB
Plaintext
52 lines
2.2 KiB
Plaintext
# Boost System Library test Jamfile
|
|
|
|
# Copyright Beman Dawes 2003, 2006
|
|
|
|
# Distributed under the Boost Software License, Version 1.0.
|
|
# See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt
|
|
|
|
# See library home page at http://www.boost.org/libs/system
|
|
|
|
subproject libs/system/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 "system"
|
|
: [ run libs/system/test/error_code_test.cpp
|
|
<lib>../build/boost_system
|
|
: : : <sysinclude>$(BOOST_AUX_ROOT) <sysinclude>$(BOOST_ROOT) <define>BOOST_ALL_NO_LIB <define>BOOST_SYSTEM_STATIC_LINK
|
|
]
|
|
[ run libs/system/test/error_code_test.cpp
|
|
<dll>../build/boost_system
|
|
: : : <sysinclude>$(BOOST_AUX_ROOT) <sysinclude>$(BOOST_ROOT) <define>BOOST_ALL_NO_LIB <define>BOOST_SYSTEM_DYN_LINK <runtime-link>dynamic
|
|
: error_code_test_dll
|
|
]
|
|
[ run libs/system/test/error_code_user_test.cpp
|
|
<lib>../build/boost_system
|
|
: : : <sysinclude>$(BOOST_AUX_ROOT) <sysinclude>$(BOOST_ROOT) <define>BOOST_ALL_NO_LIB <define>BOOST_SYSTEM_STATIC_LINK
|
|
]
|
|
[ run libs/system/test/error_code_user_test.cpp
|
|
<dll>../build/boost_system
|
|
: : : <sysinclude>$(BOOST_AUX_ROOT) <sysinclude>$(BOOST_ROOT) <define>BOOST_ALL_NO_LIB <define>BOOST_SYSTEM_DYN_LINK <runtime-link>dynamic
|
|
: error_code_user_test_dll
|
|
]
|
|
[ run libs/system/test/system_error_test.cpp
|
|
<lib>../build/boost_system
|
|
: : : <sysinclude>$(BOOST_AUX_ROOT) <sysinclude>$(BOOST_ROOT) <define>BOOST_ALL_NO_LIB <define>BOOST_SYSTEM_STATIC_LINK
|
|
]
|
|
[ run libs/system/test/system_error_test.cpp
|
|
<dll>../build/boost_system
|
|
: : : <sysinclude>$(BOOST_AUX_ROOT) <sysinclude>$(BOOST_ROOT) <define>BOOST_ALL_NO_LIB <define>BOOST_SYSTEM_DYN_LINK <runtime-link>dynamic
|
|
: system_error_test_dll
|
|
]
|
|
;
|
|
}
|