https://buildtesters.github.io/schemas/schemas/global.schema.json#/definitions/status/properties/regex
Perform regular expression search using re.search
python module on stdout/stderr stream for reporting if test PASS
.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | global.schema.json* |
object
(Details)
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
stream | string |
Required | cannot be null | global schema |
exp | string |
Required | cannot be null | global schema |
The stream field can be stdout or stderr. buildtest will read the output or error stream after completion of test and check if regex matches in stream
stream
string
string
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"stdout" |
|
"stderr" |
Specify a regular expression to run with input stream specified by stream
field. buildtest uses re.search when performing regex
exp
string
string