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

Fixes test file collisions with high concurrency builds #935

Merged
merged 1 commit into from
May 11, 2024

Conversation

Ninpo
Copy link
Contributor

@Ninpo Ninpo commented Jul 9, 2023

Fix by Ninpo ninpo@qap.la

#933

@Ninpo Ninpo force-pushed the fix-test-file-collisions branch from a6f9f73 to 711e3e4 Compare July 9, 2023 23:07
Fix by Ninpo <ninpo@qap.la>

When tests are run in parallel it's possible for ImageWriter
and FFmpegWriter Gif tests to truncate/overwrite the other's
output1.gif. This change makes use of test file names unique
to the tests themselves.

Because cmake defaults to Makefiles and make does not -j$(nproc)
by default, this bug can't show up unless part of a build with parallel
make with tests included.

OpenShot#933
@Ninpo Ninpo force-pushed the fix-test-file-collisions branch from 711e3e4 to e17c2a3 Compare July 9, 2023 23:13
@jonoomph
Copy link
Member

@Ninpo Thanks and sorry for the delays! Merging

@jonoomph jonoomph merged commit 9e9bfb3 into OpenShot:develop May 11, 2024
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