summaryrefslogtreecommitdiff
path: root/tests/kms-test-brxalloc.py
AgeCommit message (Collapse)Author
2022-07-31tests: Only call execute() if the test is run directlyLaurent Pinchart
Only run a test automatically if the Python test script is executed directly. This will allow importing tests as modules in a test runner. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2022-07-31tests: brxalloc: Fix test start log messageLaurent Pinchart
The test start log message incorrectly prints the same connector twice instead of the source and destination connectors. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2022-06-29tests: Convert to formatted string literalsLaurent Pinchart
Use formatted string literals to replace legacy printf-style string formatting. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2022-06-29tests: Replace double quotes with single quotesLaurent Pinchart
The code base mixes single and double quotes. Standardize on single quotes except for triple-quoted strings (to match the PEP8 coding style) and where the string contains single quotes to avoid the need to escape them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2020-07-14Add license and copyright informationLaurent Pinchart
Add SPDX tags to describe license and copyright information to all files in the repository. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
2019-06-19kmstest.py: Add output_connectors() helper to skip writeback connectorsLaurent Pinchart
Add a generator method to the KMSTest class to enumerate all non-writeback connectors, and use it through tests. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
2019-06-19tests: Extend BRU/BRS allocation test to cover M3-NLaurent Pinchart
The BRU/BRS allocation test only covers the H3 ES2.0 SoC as that was the only hardware platform supported by the DU driver that offered the required features at the time the test was written. Now that M3-N is supported in the DU driver, support it in the test script. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
2018-04-22tests: brxalloc: Add BRU/BRS dynamic allocation testLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>