Skip to content
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

Skip RuntimeEventSource tests on wasm and android #57890

Merged
3 commits merged into from
Aug 22, 2021
Merged

Conversation

agocke
Copy link
Member

@agocke agocke commented Aug 22, 2021

Fixes #57886

@dotnet-issue-labeler
Copy link

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.

@@ -2361,6 +2361,9 @@


<ItemGroup Condition=" '$(TargetArchitecture)' == 'wasm' " >
<ExcludeList Include="$(XunitTestBinBase)/tracing/eventcounter/runtimeeventsource/runtimeeventsource*">
<Issue>AppContext switch events are not available on mono Android and wasm</Issue>
</ExcludeList>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious what's special about these two, e.g. they are available on iOS?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure, still investigating. I suspect it doesn't work on iOS either, but we may not run those tests.

Copy link
Member Author

@agocke agocke Aug 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah -- it looks like the runtime tests are only run on Mono for Android and wasm. I don't even see x64 there, which suprises me.

I'm going to blanket disable this on Mono for now. It wasn't a requirement and I would want to do a lot more work before stating this should work in any Mono environment.

@ghost
Copy link

ghost commented Aug 22, 2021

Hello @agocke!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 454ac57 into dotnet:main Aug 22, 2021
@agocke agocke deleted the fix-mono-builds branch August 22, 2021 19:37
agocke added a commit that referenced this pull request Aug 23, 2021
* Skip RuntimeEventSource tests on wasm and android

* Skip tests without using issues.targets

* Disable test for mono

(cherry picked from commit 454ac57)
mmitche pushed a commit that referenced this pull request Aug 25, 2021
…ches (#57847)

* Add event to RuntimeEventSource for AppContext switches

Fixes #56142

* Respond to PR comments

* Add preliminary tests

* Respond to PR comments

* Add keyword

* Fix tests

* Remove AppContext EventSource support on browser

* forgot using

* Fix error reporting, add comments

* Respond to PR comments

* Refactor tests

* Fix case where s_switches is null

* Fix bug

* Print more info for test failure

* Typo

* Fix lab failure

* Respond to PR comments

* Respond to PR comments

* Typo

* Respond to PR comments

* Skip RuntimeEventSource tests on wasm and android (#57890)

* Skip RuntimeEventSource tests on wasm and android

* Skip tests without using issues.targets

* Disable test for mono

(cherry picked from commit 454ac57)

Co-authored-by: Andy Gocke <[email protected]>
@ghost ghost locked as resolved and limited conversation to collaborators Sep 21, 2021
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Runtime tests failing The given key 'appContextSwitch' was not present in the dictionary.
2 participants