-
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
[wasm] Reduce the output from tests. #61593
Conversation
maraf
commented
Nov 15, 2021
- Do not printout exceptions from failing task tests.
- Remove default MONO_LOG_MASK=gc from debug configuration.
- Do not printout exceptions from failing task tests. - Remove default MONO_LOG_MASK=gc from debug configuration.
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
Tagging subscribers to 'arch-wasm': @lewing Issue Details
|
// Setting this env var allows Diagnostic.Debug to write to stderr. In a browser environment this | ||
// output will be sent to the console. Right now this is the only way to emit debug logging from | ||
// corlib assemblies. | ||
monoeg_g_setenv ("COMPlus_DebugWriteToStdErr", "1", 0); | ||
// monoeg_g_setenv ("COMPlus_DebugWriteToStdErr", "1", 0); |
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 wonder if we should revisit the way this works and send Debug.* output to the proper js console
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.
Just for reference this is what it does
runtime/src/libraries/System.Private.CoreLib/src/System/Diagnostics/DebugProvider.Unix.cs
Line 42 in 57bfe47
if (s_shouldWriteToStdErr) |