]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/test/doc/testing_tools/timeout.qbk
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / test / doc / testing_tools / timeout.qbk
1 [/
2 / Copyright (c) 2015 Raffi Enficiaud
3 /
4 / Distributed under the Boost Software License, Version 1.0. (See accompanying
5 / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 /]
7
8
9 [section:timeout Time-out for test cases]
10
11 The __UTF__ provides the decorator __decorator_timeout__ that specifies a time-out for a specific *test case*,
12 The argument time (in seconds) sets the maximum allowed duration of a test case. If this time is
13 exceeded the test case is forced to stop and is reported as failure.
14
15 [bt_example decorator_11..decorator timeout..run-fail]
16
17 [note Applied at test suite level, this decorator has no effect.]
18
19 [caution Decorator `timeout` has no effect on Windows build. This feature is not implemented on Windows yet.]
20
21
22 [endsect]