Skip to content

Conversation

@KevinRansom
Copy link
Contributor

@KevinRansom KevinRansom commented Jan 12, 2023

This PR: #14589

Has a lot of churn in the baseline. This is because we never sorted the output file from the test, and expected developers to copy and paste deltas from the output file into the baseline. This was pretty lame.

So ...
This pr moves the baseline from fsharp source code into .bsl files. There is one for each checked combination, platform net472 and netcoreapp as well as build flavour, debug and release.

net472 actually tests the netstandard2.0 F# core, netcoreapp the netstandard2.1 FSharp.Core.

It also includes automatic updates of the baseline when the environment variable is used: set TEST_UPDATE_BSL=1

Implements this also for FSharp.Compiler.Service unit tests.
Also add checking for referenced assemblies.

@KevinRansom KevinRansom requested a review from a team as a code owner January 12, 2023 09:51
Copy link
Contributor

@psfinaki psfinaki left a comment

Choose a reason for hiding this comment

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

Awesome

@KevinRansom KevinRansom enabled auto-merge (squash) January 13, 2023 19:15
@KevinRansom KevinRansom merged commit 4c60c63 into dotnet:main Jan 13, 2023
@KevinRansom KevinRansom deleted the sortBaseline branch April 29, 2023 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants