-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Unify corerun test runner #49529
Unify corerun test runner #49529
Conversation
It doesn't already? |
@danmoseley It does, but there are two implementations - corerun and unixcorerun. This PR combines them. |
829dd70
to
00bca4b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but somebody with build system experience should probably take a second look
Remove the unixcorerun implementation but fold in those its features. Attach debugger is supported on Windows and macOS. CORE_ROOT can now be set the same way on all platforms: --clr-path, CORE_ROOT, corerun dir.
initialize or execute the entry assembly occurs. Remove -v flag.
This reverts commit 51df3bf8e962624f4fb26f0e46cf412d4543a6da.
4944fad
to
de2c659
Compare
Anyone else have feedback here? |
// | ||
const char* property_keys[] = { | ||
const char* propertyKeys[] = | ||
{ | ||
"TRUSTED_PLATFORM_ASSEMBLIES", | ||
"APP_PATHS", | ||
"APP_NI_PATHS", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think APP_NI_PATHS
can be deleted. Nothing should depend on it anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You would think that, but unfortunately we do have tests that rely on it. That is something I was going to cleanup after this is in.
Updates based on dotnet/runtime#49529.
Rewrite
corerun
so that the same source works for all platforms instead of having a Windows and non-Windows implementation.Fixes #35814
Fixes #7509
Fixes #5116 - 'wait for debugger' attach is supported on macOS and systems with
procfs
.The
-v
verbose flag has been removed since it didn't offer a lot of insight. New logging has been added instead.corerun
now dumps out all the details passed to CoreCLR when it fails to initialize or if the execute call fails. See below for an example of output.