Uh oh!
There was an error while loading. Please reload this page.
Clean up usings in test cases assembly - #88678
Conversation
ghost
commented
Jul 11, 2023
Tagging subscribers to 'linkable-framework': @eerhardt, @vitek-karas, @LakshanF, @sbomer, @joperezr, @marek-safar Issue DetailsThe main goal here is to get rid of the unused Rather than hunt down the 10-20 files that were problematic I ran Rider's namespace clean up functionality on
|
vitek-karas
commented
Jul 11, 2023
There's something weird about the test assembly. VS refuses to cleanup any usings (it behaves as if all of them are necessary even though if I remove one which is unused everything works). And apparently Rider goes to the other extreme and removes even those which are needed (as seen by the failing tests). Oh well :-( |
mrvoorhe
commented
Jul 11, 2023
Tests with |
vitek-karas
left a comment
There was a problem hiding this comment.
Thanks a lot for the cleanup!
Uh oh!
There was an error while loading. Please reload this page.
mrvoorhe
commented
Jul 12, 2023
@vitek-karas I don't understand what the |
vitek-karas
commented
Jul 12, 2023
It's a check which looks through all of the failures and matches them against known bugs. It needs to wait for all the runs to finish - unfortunately the wasi leg seems to be stuck. I'll give it a bit more time and if that doesn't help we can merge regardless as nothing else seems to be failing. |
The main goal here is to get rid of the unused `System.Linq` usings. These cause problems for our UnityLinker tests that run against mono class libraries as it requires an additional reference. We could work around it by referencing everything in the mono class libraries, which is what illink does during it's tests. That said, some of the files had a lot of unnecessary usings and I don't think it's a bad thing to clean them up anyways. Rather than hunt down the 10-20 files that were problematic I ran Rider's namespace clean up functionality on `Mono.Linker.Tests.Cases`
vitek-karas
commented
Jul 13, 2023
Test failures are unrelated. Most of the failures have since been fixed by #88751. |
The main goal here is to get rid of the unused
System.Linqusings. These cause problems for our UnityLinker tests that run against mono class libraries as it requires an additional reference. We could work around it by referencing everything in the mono class libraries, which is what illink does during it's tests. That said, some of the files had a lot of unnecessary usings and I don't think it's a bad thing to clean them up anyways.Rather than hunt down the 10-20 files that were problematic I ran Rider's namespace clean up functionality on
Mono.Linker.Tests.Cases