Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automated: linux: add video output comparison test #533

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

mwasilew
Copy link
Contributor

The test takes a screenshot from video output and compares to the reference image. It is intended to test HDMI output from DUT.

The test takes a screenshot from video output and compares to the
reference image. It is intended to test HDMI output from DUT.

Signed-off-by: Milosz Wasilewski <[email protected]>
@mwasilew
Copy link
Contributor Author

@roxell it looks like the linter check fail is not related to this patch. Could you take a look?

FROM python:3

COPY requirements.txt /home/
RUN python3 -m pip install opencv-python scikit-image requests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why don't you have all this in requirements.txt and install from there?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It takes 1.5 hours. Both Dockerfile and requirements.txt are not needed for the test. They're added if someone would like to a) build the container to run the test in LAVA, b) run the test locally.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, and using requirments.txt in Dockerfile will be tricky. If the requirements.txt changes, the layer cache will not be invalidated.

@roxell roxell merged commit e955837 into Linaro:master Nov 14, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants