Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Use all diagnostic analyzers when running analyzer's tests - #2327

Merged
mateoatr merged 2 commits into
dotnet:mainfrom
mateoatr:analyzerTests
Oct 20, 2021
Merged

mateoatr merged 2 commits into
dotnet:mainfrom
mateoatr:analyzerTests

Conversation

@mateoatr

Copy link
Copy Markdown
Contributor

Fixes #2315. See #2306 (comment). This removes the enumerated analyzers from ProducedBy and sets the analyzer's tests to use all diagnostic analyzers for each run (instead of running each test with each of the analyzers, which we currently do).

@sbomer sbomer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice!

@mateoatr
mateoatr merged commit bf7aaab into dotnet:main Oct 20, 2021
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
…nker#2327)

* Use all analyzers for each linker's test run

* Remove SimpleAnalyzerOptions from CSharpAnalyzerVerifier

Commit migrated from dotnet/linker@bf7aaab
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Run trimmer tests in ILLink.RoslynAnalyzer.Tests with all analyzers

3 participants