-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the VA API related test cases from checkbox-iiotg-provider[1] to the base provider in checkbox monorepo. [1] https://git.launchpad.net/~checkbox-dev/checkbox-iiotg/+git/checkbox-provider-intliotg/tree/units/va-api
- Loading branch information
Showing
4 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
unit: category | ||
id: va-api | ||
_name: Hardware video acceleration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
id: va-api/va-initialize | ||
_summary: Detect if the VA API could be loaded | ||
category_id: va-api | ||
imports: from com.canonical.plainbox import manifest | ||
requires: | ||
package.name == 'vainfo' | ||
cpuinfo.platform == 'x86_64' | ||
manifest.has_va_api == 'True' | ||
plugin: shell | ||
flags: simple | ||
command: | ||
vainfo && exit 0 || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
unit: manifest entry | ||
id: has_va_api | ||
_name: Has support for hardware video acceleration (VA API) | ||
value-type: bool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
id: va-api-full | ||
_name: Hardware video acceleration tests | ||
unit: test plan | ||
include: | ||
nested_part: | ||
va-api-manual | ||
va-api-automated | ||
|
||
id: va-api-manual | ||
_name: Hardware video acceleration tests (manual) | ||
unit: test plan | ||
include: | ||
bootstrap_include: | ||
|
||
id: va-api-automated | ||
_name: Hardware video acceleration tests (automated) | ||
unit: test plan | ||
include: | ||
va-api/va-initialize | ||
bootstrap_include: |