2006-02-15 14:09:37 +00:00
|
|
|
#
|
2008-04-14 18:06:59 +00:00
|
|
|
# Copyright John Maddock 2008.
|
2006-07-16 15:42:19 +00:00
|
|
|
# Use, modification and distribution are 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)
|
2006-02-15 14:09:37 +00:00
|
|
|
#
|
|
|
|
|
# If you need to alter build preferences then set them in
|
|
|
|
|
# the template defined in options_v2.jam.
|
|
|
|
|
#
|
2008-04-14 18:06:59 +00:00
|
|
|
test-suite config
|
|
|
|
|
:
|
|
|
|
|
[ run config_test.cpp
|
|
|
|
|
: #args
|
|
|
|
|
: #input-files
|
|
|
|
|
: #requirements
|
|
|
|
|
<threading>multi
|
|
|
|
|
: config_test_threaded
|
|
|
|
|
]
|
|
|
|
|
[ run config_test.cpp
|
|
|
|
|
: #args
|
|
|
|
|
: #input-files
|
|
|
|
|
: #requirements
|
|
|
|
|
<threading>single <toolset>msvc:<runtime-link>static <toolset>msvc:<link>static
|
2009-01-20 17:22:47 +00:00
|
|
|
<target-os>linux:<linkflags>-lpthread
|
|
|
|
|
<target-os>linux:<linkflags>-lrt
|
2009-01-25 10:39:29 +00:00
|
|
|
<target-os>freebsd:<linkflags>-lpthread
|
|
|
|
|
<target-os>bsd:<linkflags>-lpthread
|
2008-04-14 18:06:59 +00:00
|
|
|
]
|
|
|
|
|
[ run config_info.cpp : : : <test-info>always_show_run_output <threading>single <toolset>msvc:<runtime-link>static <toolset>msvc:<link>static ]
|
|
|
|
|
[ run config_info.cpp : : : <test-info>always_show_run_output <threading>multi : config_info_threaded ]
|
|
|
|
|
[ run math_info.cpp : : : <test-info>always_show_run_output <toolset>borland:<runtime-link>static <toolset>borland:<link>static ]
|
|
|
|
|
[ run abi/abi_test.cpp abi/main.cpp ]
|
|
|
|
|
[ run limits_test.cpp ../../test/build//boost_test_exec_monitor ]
|
|
|
|
|
[ run link/main.cpp link//link_test
|
|
|
|
|
: #args
|
|
|
|
|
: #input-files
|
|
|
|
|
: #requirements
|
|
|
|
|
<runtime-link>shared
|
|
|
|
|
<define>BOOST_DYN_LINK=1
|
|
|
|
|
<define>BOOST_CONFIG_NO_LIB=1
|
|
|
|
|
:
|
|
|
|
|
config_link_test
|
|
|
|
|
]
|
|
|
|
|
[ compile-fail threads/test_thread_fail1.cpp ]
|
|
|
|
|
[ compile-fail threads/test_thread_fail2.cpp ]
|
|
|
|
|
;
|