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

ILASM - Disable fileversionpreservation test #71972

Merged
merged 3 commits into from
Jul 13, 2022

Conversation

TIHan
Copy link
Contributor

@TIHan TIHan commented Jul 11, 2022

Should stop this from failing for now: #71919

ILASM does not support embedding or generating resource data; we would need to add that functionality. It used to exist, but it depended on CvtRes.exe which the dotnet team does not own; which is the reason the resource embedding support was removed. See dotnet/coreclr#20818 and #11412

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jul 11, 2022
@ghost ghost assigned TIHan Jul 11, 2022
@ghost
Copy link

ghost commented Jul 11, 2022

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

Should stop this from failing for now: #71919

ILASM does not support embedding or generating resource data; we would need to add that functionality. It used to exist, but it depended on CvtRes.exe which the dotnet team does not own; which is the reason the resource embedding support was removed.

Author: TIHan
Assignees: -
Labels:

area-CodeGen-coreclr

Milestone: -

@TIHan
Copy link
Contributor Author

TIHan commented Jul 11, 2022

@dotnet/jit-contrib ready for review

Copy link
Member

@BruceForstall BruceForstall left a comment

Choose a reason for hiding this comment

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

You're disabling it for all configurations. You only need to disable it for ilasm round-trip testing.

Use IlasmRoundTripIncompatible. See https://github.com/dotnet/runtime/blob/main/docs/workflow/ci/disabling-tests.md and other test examples that use this.

Is this test failure happening now because the recent changes mean we're actually (finally) running the round-tripped dll?

@ghost ghost added the needs-author-action An issue or pull request that requires more info or actions from the author. label Jul 12, 2022
@TIHan
Copy link
Contributor Author

TIHan commented Jul 12, 2022

Is this test failure happening now because the recent changes mean we're actually (finally) running the round-tripped dll?

Yes.

I'll correctly disable the test.

@ghost ghost removed the needs-author-action An issue or pull request that requires more info or actions from the author. label Jul 12, 2022
…o disable roundtrip test for fileversionpreservation
@TIHan TIHan force-pushed the ilasm-test-disable-fileversionpreservation branch from bbc901e to 70ccd4f Compare July 12, 2022 22:05
@TIHan
Copy link
Contributor Author

TIHan commented Jul 12, 2022

@dotnet/jit-contrib ready for review again. I used <IlasmRoundTripIncompatible>true</IlasmRoundTripIncompatible> to disable the roundtrip tests only.

@TIHan TIHan merged commit 305952c into dotnet:main Jul 13, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Aug 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants