Skip to content

Add WASM app verbosity compatibility switch#1584

Open
vitek-karas wants to merge 1 commit intodotnet:mainfrom
vitek-karas:copilot/verbosity-compat-switch
Open

Add WASM app verbosity compatibility switch#1584
vitek-karas wants to merge 1 commit intodotnet:mainfrom
vitek-karas:copilot/verbosity-compat-switch

Conversation

@vitek-karas
Copy link
Copy Markdown
Member

Add --no-app-verbosity to 'wasm test-browser' so callers can keep xharness logging verbosity without forwarding '-verbosity ' into the app arguments.

This restores a backward-compatible option for the .NET 8.0 runtime tests, where the forwarded verbosity arguments break older WASM browser tests that validate their command-line args strictly.

This is to unblock dotnet/runtime#126322 - which brings latest xharness to the 8.0 servicing branch.
My thinking was that it's simpler to add a backward compat switch to xharness than to backport relatively large test change in the WASM space.

Add --no-app-verbosity to 'wasm test-browser' so callers can keep xharness logging verbosity without forwarding '-verbosity <level>' into the app arguments.

This restores a backward-compatible option for the .NET 8.0 runtime tests we investigated, where the forwarded verbosity arguments break older WASM browser tests that validate their command-line args strictly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@vitek-karas vitek-karas requested review from kotlarmilos and maraf April 7, 2026 09:31
@kotlarmilos
Copy link
Copy Markdown
Member

A faster way to validate and fix this in dotnet/runtime would be to add a case like

case "-verbositry": break; // no-op

here: https://github.com/dotnet/runtime/blob/07260fe3bc96732ed7f2923ce4852c36a972f112/src/libraries/Common/tests/WasmTestRunner/WasmTestRunner.cs#L52-L53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants