Skip to content

Add FSC compiler options tests#19348

Merged
T-Gro merged 1 commit intodotnet:mainfrom
bbatsov:add-fsc-options-tests
Feb 27, 2026
Merged

Add FSC compiler options tests#19348
T-Gro merged 1 commit intodotnet:mainfrom
bbatsov:add-fsc-options-tests

Conversation

@bbatsov
Copy link
Contributor

@bbatsov bbatsov commented Feb 22, 2026

Description

Adds test coverage for FSC-specific compiler options that had no dedicated tests: --parseonly, --typecheckonly, --consolecolors, --preferreduilang, --abortonerror, and internal optimization switches (--jit, --localoptimize, --splitting). Also adds error cases for invalid --warn and --target values.

Companion to #19346 which covers the FSI side.

Contributes to #13878

Checklist

  • Test cases added

  • Performance benchmarks added in case of performance changes

  • Release notes entry updated:

    If you believe that release notes are not necessary for this PR, please add NO_RELEASE_NOTES label to the pull request.

@github-actions
Copy link
Contributor

✅ No release notes required

@github-project-automation github-project-automation bot moved this from New to In Progress in F# Compiler and Tooling Feb 27, 2026
@T-Gro T-Gro enabled auto-merge (squash) February 27, 2026 14:47
Cover FSC-specific options that had no dedicated tests: --parseonly,
--typecheckonly, --consolecolors, --preferreduilang, --abortonerror,
and internal optimization switches (--jit, --localoptimize, --splitting).
Also add error cases for invalid --warn and --target values.

Contributes to dotnet#13878
auto-merge was automatically disabled February 27, 2026 16:55

Head branch was pushed to by a user without write access

@bbatsov bbatsov force-pushed the add-fsc-options-tests branch from 552a5ba to bdf7f56 Compare February 27, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants