Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
safesparrow committed Nov 8, 2022
1 parent c488082 commit 39d723b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ParallelTypeCheckingTests/Tests/TestCompilation.fs
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@ let ``Compile graph-based`` (project : FProject) =
/// Useful as a sanity check </summary>
[<TestCaseSource(nameof(codebases))>]
let ``Compile sequential`` (project : FProject) =
compile {Method = Method.Graph; Project = project}
compile {Method = Method.Sequential; Project = project}
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,18 @@ let internal TestCompilerFromArgs (config : Args) : unit =
[<TestCaseSource(nameof(codebases))>]
[<Explicit("Before running these tests, you must prepare the codebase by running FCS.prepare.ps1")>]
let ``Test graph-based type-checking`` (code : Codebase) =
let config =
{
Path = code.Path
LineLimit = code.Limit
Method = TypeCheckingMode.Graph
WorkingDir = Some code.WorkDir
}
TestCompilerFromArgs config

[<TestCaseSource(nameof(codebases))>]
[<Explicit("Before running these tests, you must prepare the codebase by running FCS.prepare.ps1")>]
let ``Test sequential type-checking`` (code : Codebase) =
let config =
{
Path = code.Path
Expand Down

0 comments on commit 39d723b

Please sign in to comment.