Skip to content

Commit 39d723b

Browse files
committed
changes
1 parent c488082 commit 39d723b

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

tests/ParallelTypeCheckingTests/Tests/TestCompilation.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,4 @@ let ``Compile graph-based`` (project : FProject) =
151151
/// Useful as a sanity check </summary>
152152
[<TestCaseSource(nameof(codebases))>]
153153
let ``Compile sequential`` (project : FProject) =
154-
compile {Method = Method.Graph; Project = project}
154+
compile {Method = Method.Sequential; Project = project}

tests/ParallelTypeCheckingTests/Tests/TestCompilationFromCmdlineArgs.fs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,18 @@ let internal TestCompilerFromArgs (config : Args) : unit =
7070
[<TestCaseSource(nameof(codebases))>]
7171
[<Explicit("Before running these tests, you must prepare the codebase by running FCS.prepare.ps1")>]
7272
let ``Test graph-based type-checking`` (code : Codebase) =
73+
let config =
74+
{
75+
Path = code.Path
76+
LineLimit = code.Limit
77+
Method = TypeCheckingMode.Graph
78+
WorkingDir = Some code.WorkDir
79+
}
80+
TestCompilerFromArgs config
81+
82+
[<TestCaseSource(nameof(codebases))>]
83+
[<Explicit("Before running these tests, you must prepare the codebase by running FCS.prepare.ps1")>]
84+
let ``Test sequential type-checking`` (code : Codebase) =
7385
let config =
7486
{
7587
Path = code.Path

0 commit comments

Comments
 (0)