Skip to content

Prevent parallel Windows test DLL deployment races - #225

Merged
danoli3 merged 1 commit into
masterfrom
fix/windows-test-dll-race
Oct 27, 2026
Merged

danoli3 merged 1 commit into
masterfrom
fix/windows-test-dll-race

Conversation

@danoli3

@danoli3 danoli3 commented Oct 27, 2026

Copy link
Copy Markdown
Owner

Parallel Windows test builds deploy FreeImage.dll into a shared directory while vcpkg’s app-local steps inspect the same DLL. Master’s Windows optional-codec DLL job failed with open_for_read(.../TestAPI/Release/FreeImage.dll): permission denied during DependencyInfoTest’s post-build step.

Give each Windows test/tool executable its own runtime directory, preserving the existing per-target DLL deployment and isolating vcpkg’s dependency copies. Update the two workflows that invoke executable paths directly; CTest resolves target paths automatically.

Validation: full MinGW32 Debug DLL cross-build and all test executables link successfully with distinct runtime directories. Whitespace checks pass. Native Windows parallel deployment and runtime execution are covered by CI; those cannot be exercised on the local macOS host.

Failed master job: https://github.com/danoli3/FreeImage/actions/runs/40325507720/job/121581049609

@danoli3
danoli3 merged commit 30d4b15 into master Oct 27, 2026
76 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.

1 participant