1 | # (C) Copyright Gennadiy Rozental 2001-2005. |
---|
2 | # Use, modification, and distribution are subject to the |
---|
3 | # Boost Software License, Version 1.0. (See accompanying file |
---|
4 | # LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
---|
5 | # |
---|
6 | # See http://www.boost.org/libs/test for the library home page. |
---|
7 | |
---|
8 | subproject libs/test/example ; |
---|
9 | |
---|
10 | # bring in the rules for testing |
---|
11 | import testing ; |
---|
12 | |
---|
13 | # Make tests run by default. |
---|
14 | DEPENDS all : test ; |
---|
15 | |
---|
16 | rule boost-test-example ( example-name : lib-name ) |
---|
17 | { |
---|
18 | return [ compile $(example-name).cpp <lib>../build/$(lib-name) |
---|
19 | : <stlport-iostream>on <borland><*><cxxflags>-w-8080 |
---|
20 | : $(example-name) |
---|
21 | ] ; |
---|
22 | } |
---|
23 | |
---|
24 | test-suite "boost_test_examples" |
---|
25 | : [ boost-test-example exec_mon_example : boost_prg_exec_monitor ] |
---|
26 | [ boost-test-example prg_exec_example : boost_prg_exec_monitor ] |
---|
27 | |
---|
28 | [ boost-test-example test_exec_example : boost_test_exec_monitor ] |
---|
29 | |
---|
30 | [ boost-test-example unit_test_example1 : boost_unit_test_framework ] |
---|
31 | [ boost-test-example unit_test_example2 : boost_unit_test_framework ] |
---|
32 | [ boost-test-example unit_test_example3 : boost_unit_test_framework ] |
---|
33 | [ boost-test-example unit_test_example4 : boost_unit_test_framework ] |
---|
34 | [ boost-test-example unit_test_example5 : boost_unit_test_framework ] |
---|
35 | |
---|
36 | [ boost-test-example test_case_template_example : boost_unit_test_framework ] |
---|
37 | |
---|
38 | [ boost-test-example named_param_example : boost_unit_test_framework ] |
---|
39 | |
---|
40 | [ boost-test-example auto_unit_test_example1 : boost_unit_test_framework ] |
---|
41 | [ boost-test-example auto_unit_test_example2 : boost_unit_test_framework ] |
---|
42 | [ boost-test-example auto_unit_test_example3 : boost_unit_test_framework ] |
---|
43 | [ boost-test-example auto_unit_test_example4 : boost_unit_test_framework ] |
---|
44 | [ boost-test-example auto_unit_test_example5 : boost_unit_test_framework ] |
---|
45 | [ boost-test-example auto_unit_test_example6 : boost_unit_test_framework ] |
---|
46 | |
---|
47 | ; |
---|
48 | |
---|
49 | |
---|