-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
August infra rollout: continued cleanup of runtime tests #38919
Comments
@ViktorHofer - As I want to move the |
Yes, it would be nice to switch other places where we have this logic duplicated while you are on it: |
Ideally we would use what comes with Arcade. I believe they are doing something similar. |
I do not see anything close enough in Arcade. |
Thanks @jkotas and @ViktorHofer for your quick feedback. It seems to me that somewhat similar logic resides in the script Line 287 in 6998f4c
I can look into switching over the existing scripts to use this logic instead of using several open-coded versions; I have not yet verified if it's a full replacement of the existing VS detection logic bits though. |
It is not. Also, |
Thanks @jkotas for clarifying. Adding @dotnet/runtime-infrastructure to chime in as I believe JanK's responses imply that:
|
So, in this new directory structure, where should any runtime test related utilities go? Undr /src/tests? Specifically I am thinking of the wasm/android test runner I am creating. |
@naricc - Right now the various scripts and utilities reside under |
Status update - I got traditionally delayed on this; after rebasing my initial changes against the recent addition of F# support I started hitting weird behavior that took me quite some time to track down. I'm trying to put together at least a scoped down version of the cleanup; if I don't manage to make that work by tomorrow, I'll need to postpone this to September as I don't think it would be a good idea to risk destabilizing testing in master at this point. |
Thanks for the update Tomas. We can definitely move this to September, just let us know :) |
I think I have finally realized how to approach this; I don't want to just punt it. I was trying to get too much stuff done in a single PR and that's not good in this case. I'm trying to remake the change by making it minimal in the sense that it only does the "disruptive things" - it basically renames |
@jashook - one of the interesting issues I hit in my original attempt at the broader cleanup change is that the project you recently added, runtime/src/coreclr/tests/src/runtest.proj Line 408 in 7d3b804
MSBuild apparently gets confused and builds the top |
Ah I believe that adding in runtest was incorrect. We just have no code path in the CI that goes down the code path. We only need the Fsharp dependencies in Core_Root which is handled in Let me open a PR, sorry you had to hit that. |
Will open the pr early tomorrow to make sure I can still do a innerloop build and test run with the change |
@jashook - no worries, please don't haste with the PR otherwise you'll create a conflict for me :-), just wanted to mention some of the issues I hit in the process. Another one was move of the stress_dependencies, external and scripts projects, that took me more than a day to figure out how to fix properly in the props files, but all of this is a terrible mess that doesn't need to be made part of the primary "developer-facing roll-out PR". I have also figured out how to stop restoring these into the source code folders but that's even more complex. Long story short, please focus on reviewing my primary rename PR if possible and let's fix these nits later this week or the next. |
Actually, one more related nitpick is that we should probably also add the runtime/src/coreclr/tests/src/dirs.proj Line 13 in 7d3b804
I think I'm approaching the phase when we'll be able to proclaim all tests under |
Sounds good, thank you for this work! |
…mal) (#40345) Similar to the previous occasion, I have identified this set as the minimum meaningful set of scripts to move without causing too much disruption apart from purely mechanical renames. This change moves the developer-facing test-related CoreCLR scripts under the src/tests folder in accordance with the previous move of the tests themselves: src/coreclr/build-test.cmd to src/tests/build.cmd src/coreclr/build-test.sh to src/tests/build.sh src/coreclr/tests/build.proj to src/tests/build.proj src/coreclr/tests/runtest.cmd to src/tests/run.cmd src/coreclr/tests/runtest.sh to src/tests/run.sh src/coreclr/tests/src/runtest.proj to src/tests/run.proj src/coreclr/tests/issues.targets to src/tests/issues.targets The rest of the change constitutes mere path adjustments to match the primary rename. Fixes: #38919 Thanks Tomas
Follow-up of:
#37440
After the runtime test source code and project scripts have been moved under src/tests, I have the following proposals for further test cleanup:
/cc: @dotnet/runtime-infrastructure
The text was updated successfully, but these errors were encountered: