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

Update test_all_configurations.sh #2609

Merged
merged 2 commits into from
Feb 12, 2025
Merged

Conversation

y-guyon
Copy link
Collaborator

@y-guyon y-guyon commented Feb 11, 2025

No description provided.

./aom.cmd
rm -rf dav1d
cp dav1d.cmd dav1d_sanitized.cmd
sed -i 's/meson setup \(.*\) \.\./meson setup \1 '"-Db_sanitize=${SANITIZER} -Db_lundef=false"' ../g' dav1d_sanitized.cmd
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is weird: we have to patch meson to make it aware we are using sanitizers in the CI, cf

sed -i -e 's/meson setup \(.*\) \.\./meson setup \1 -Db_sanitize=${{ matrix.sanitizer }} -Db_lundef=false ../g' dav1d.cmd

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is mostly to check that everything builds correctly and that all tests pass, so if dav1d is not sanitized in this script that's alright in my opinion. It is already tested in the CI as you mentioned.

It would be good to have a CMake option for that in libavif/CMakeLists.txt, if feasible.

@y-guyon y-guyon requested a review from vrabaud February 12, 2025 09:18
@y-guyon y-guyon merged commit 745f69c into AOMediaCodec:main Feb 12, 2025
@y-guyon y-guyon deleted the test_all branch February 12, 2025 09:32
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.

2 participants