Skip to content

Tests: improve COFF object file comparison - #789

Merged
jrosdahl merged 1 commit into
ccache:masterfrom
nickhutchinson:coff-object-compare
Jan 25, 2021
Merged

jrosdahl merged 1 commit into
ccache:masterfrom
nickhutchinson:coff-object-compare

Conversation

@nickhutchinson

Copy link
Copy Markdown
Contributor

Make is_equal_object_files more lenient when comparing COFF object files.

COFF object files contain the original source file name, which was breaking the cpp1 test. They often contain a timestamp used by the incremental linker, unless this is explicitly disabled via /Brepro (MSVC) or -mno-incremental-linker-compatible (clang).

Make `is_equal_object_files` more lenient when comparing COFF object
files.

COFF object files contain the original source file name, which was
breaking the cpp1 test. They often contain a timestamp used by the
incremental linker, unless this is explicitly disabled via `/Brepro`
(MSVC) or `-mno-incremental-linker-compatible` (clang).
@jrosdahl jrosdahl added area: ci Affects continuous integration issue: improvement Enhancements that improve performance, usability or code quality, not a new feature os: windows Related to building or running on Windows labels Jan 25, 2021
@jrosdahl jrosdahl added this to the 4.2 milestone Jan 25, 2021
@jrosdahl
jrosdahl merged commit 2b062c3 into ccache:master Jan 25, 2021
@nickhutchinson
nickhutchinson deleted the coff-object-compare branch January 30, 2021 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci Affects continuous integration issue: improvement Enhancements that improve performance, usability or code quality, not a new feature os: windows Related to building or running on Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants