Preparation for JIT\Regression test merging - assembly/file renames (#79489)
This is a collection of renames that can be merged independently of actual test merging. Automated changes were done with the ILTransform tool (started by @trylek, my version at https://github.com/markples/utils/tree/for-PR-dotnet-runtime-79489, commit
131b3764).
- ILTransform -p
- Standardize project suffixes since _d, etc., are special cases for test merging but -dbg is not
- Rename a few tests where the project and IL files had CaSiNg differences
- ILTransform -ilfile
- Rename IL files to match the .ilproj root name (which excludes suffixes such as _d)
- Update the project files to refer to the new filenames using $(MSBuildProjectName) except src/tests/JIT/Regression/CLR-x86-JIT/V2.0-Beta2/b323557 where the IL file doesn't have the suffix
- ILTransform -m
- Remove all .module (including extern) lines from IL files
- ILTransform -a
- Rename IL .assembly names to match their filenames
- Some lines were `.assembly foo // as "foo"` - remove those comments too
- ILTransform -n -a -ilfile
- Deduplicate project names across JIT/Regression
- If a set of duplicates is simply one csproj and one ilproj, then add _il to the ilproj and leave the csproj alone
- Otherwise append the difference in the closest different directory names. For example:
- V1-M11-Beta1/b40347/b40347.ilproj -> b40347_M11-Beta1.ilproj
- V1-M12-Beta2/b40347/b40347.ilproj -> b40347_M12-Beta2.ilproj
- However, avoid creating foo_foo. For example:
- V1-M12-Beta2/b51875/b51875.csproj -> <unchanged>
- V1-M12-Beta2/b51875/Desktop/b51875.csproj -> b51875_Desktop.csproj
- Also rename IL files and .assembly names to match the new project names
- Manual fixes for IL->C# assembly references in tests dev11_132534 and dev11_145295