Debian Codegraph @

docs/ug/user_manual/text_based_suite_definition/attributes/defstatus.rst

raw
1 .. _defstatus:
2
3 defstatus
4 /////////
5
6 Defines the default status for a task/family to be assigned to the node
7 when the **begin(CLI)** command is issued. By default, all nodes get a
8 **queued** status when you use **begin(CLI)** on a suite.
9
10 **defstatus** is useful in preventing suites from running automatically
11 once begun or in setting tasks **complete** so they can be run
12 selectively.
13
14 For suites anything other than **suspended** is void. The status of a
15 family reflects the status of its children.
16
17 For a family defstatus can be either " **suspended"** , " **queued"** or
18 " **complete"** . A family with **defstatus complete** means that all
19 tasks and families are marked complete without running them.
20
21 .. code-block:: shell
22
23 family f
24 task t1
25 task t2
26 defstatus complete # by default will not be run
27 task t3
28 defstatus suspended # needs 2 B resumed