status_check – interrupt the build, marked with FAIL or SKIP status.

Description

The method checks the engine variable status_GLOBAL. When the status is FAIL, build is interrupted immediately with call of die. When the status is SKIP, build is interrupted immediately with call of skip.

Variable status_GLOBAL may be set beforehand by a call of status_set_ok, status_set_skip or status_set_fail. This group of methods does not cause the interrupt by themselves.

Writing

The method does not write to any files.

Variables

The method uses none of any-api(7) variables.

The method uses engine variables:

status_GLOBAL

See also

any(1), any-map(7)