diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2020-05-07 00:23:07 -0400 |
---|---|---|
committer | Thibault Saunier <tsaunier@igalia.com> | 2020-05-07 09:36:03 -0400 |
commit | b669bb0327527c23dc481dec0c803ebc4ab53239 (patch) | |
tree | 9f3ff37ee8b93c1687672e337b6974dbeb4f6574 /docs | |
parent | da390689c94d2873b0b9f2c6b71f31f0fcd0c573 (diff) | |
download | gstreamer-b669bb0327527c23dc481dec0c803ebc4ab53239.tar.gz |
validate: Add support for known-issues in the .validatetest
And add some tests about remaining actions failures
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/189>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/gst-validate-test-file.md | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/docs/gst-validate-test-file.md b/docs/gst-validate-test-file.md index 6328aa0ab7..045b78233a 100644 --- a/docs/gst-validate-test-file.md +++ b/docs/gst-validate-test-file.md @@ -44,8 +44,8 @@ args = { ## configs -The `config` field is an array of string containing the same content as -usual [config](gst-validate-config.md) files contain. +The `configs` field is an array of structures containing the same content as +usual [configs](gst-validate-config.md) files. For example: @@ -57,6 +57,40 @@ configs = { } ``` +Note: Since this is GstStructure synthax, we need to have the structures in the +array as strings/within quotes. + +## expected-issues + +The `expected-issues` field is an array of `expected-issue` structures containing +information about issues to expect (which can be known bugs or not). + +Use `gst-validate-1.0 --print-issue-types` to print information about all issue types. + +For example: + +``` yaml +expected-issues = { + "expected-issue, issue-id=scenario::not-ended", +} +``` + +Note: Since this is GstStructure synthax, we need to have the structures in the +array as strings/within quotes. + +### Fields: + +* `issue-id`: (string): Issue ID - Mandatory if `summary` is not provided. +* `summary`: (string): Summary - Mandatory if `issue-id` is not provided. +* `details`: Regex string to match the issue details `detected-on`: (string): + The name of the element the issue happened on `level`: (string): + Issue level +* `sometimes`: (boolean): Default: `false` - Wheteher the issue happens only + sometimes if `false` and the issue doesn't happen, an error will + be issued. +* `issue-url`: (string): The url of the issue in the bug tracker if the issue is + a bug. + # Variables The same way |