2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-23 06:02:14 +00:00
Files
test/example/Jamfile
Gennadiy Rozental 97b1b57fef test_exec_example removed
[SVN r33080]
2006-02-22 16:40:02 +00:00

61 lines
2.9 KiB
Plaintext

# (C) Copyright Gennadiy Rozental 2001-2005.
# 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)
#
# See http://www.boost.org/libs/test for the library home page.
subproject libs/test/example ;
# bring in the rules for testing
import testing ;
# Make tests run by default.
DEPENDS all : test ;
rule boost-test-example ( example-name : test-rule : lib-name ? : source_files * : use-dll ? )
{
source_files ?= $(example-name).cpp ;
local library = [ cond $(use-dll) : <dll>../build/$(lib-name) : <lib>../build/$(lib-name) ] ;
return [ $(test-rule) $(source_files) [ cond $(lib-name) : $(library) ]
: #args
: #input-files
: #requirements
<stlport-iostream>on
<borland><*><cxxflags>-w-8080
[ cond $(use-dll) : <define>BOOST_TEST_DYN_LINK=1 ]
: $(example-name)
] ;
}
test-suite "boost_test_examples"
: [ boost-test-example exec_mon_example : run : boost_prg_exec_monitor ]
[ boost-test-example prg_exec_example : run : boost_prg_exec_monitor ]
[ boost-test-example test_case_template_example : run : boost_unit_test_framework ]
[ boost-test-example unit_test_example_01 : run-fail : boost_unit_test_framework ]
[ boost-test-example unit_test_example_02 : run : boost_unit_test_framework ]
[ boost-test-example unit_test_example_03 : run : boost_unit_test_framework ]
[ boost-test-example unit_test_example_04 : run-fail : boost_unit_test_framework ]
[ boost-test-example unit_test_example_05 : run-fail : boost_unit_test_framework ]
[ boost-test-example unit_test_example_06 : run-fail : boost_unit_test_framework ]
[ boost-test-example unit_test_example_07 : run : boost_unit_test_framework ]
[ boost-test-example unit_test_example_08 : run : boost_unit_test_framework ]
[ boost-test-example unit_test_example_09 : run : boost_unit_test_framework : unit_test_example_09_1.cpp unit_test_example_09_2.cpp ]
[ boost-test-example unit_test_example_10 : run-fail : boost_unit_test_framework ]
[ boost-test-example unit_test_example_11 : run-fail : boost_unit_test_framework ]
# [ boost-test-example unit_test_example_12 : run : boost_unit_test_framework ]
[ boost-test-example est_example1 : run : boost_unit_test_framework ]
[ boost-test-example est_example2 : run : boost_unit_test_framework ]
[ boost-test-example est_example2_dll : run : boost_unit_test_framework : est_example2.cpp : 1 ]
[ boost-test-example logged_exp_example : run : boost_unit_test_framework ]
[ boost-test-example named_param_example : run ]
[ boost-test-example unit_test_example_01_dll : run-fail : boost_unit_test_framework : unit_test_example_01.cpp : 1 ]
;