Skip to content

Commit e4643f2

Browse files
committed
Cleanup
1 parent d6690eb commit e4643f2

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

tests/ParallelTypeCheckingTests/ParallelTypeCheckingTests.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
<Content Include="Tests\FCS.args.txt" />
5050
<Content Include="Tests\FCS.prepare.ps1" />
5151
<Content Include="Tests\ComponentTests.args.txt" />
52+
<Content Include="Tests\.gitignore" />
5253
<Compile Include="Program.fs" />
5354
<Content Include="Docs.md" />
5455
</ItemGroup>

tests/ParallelTypeCheckingTests/Tests/TestCompilationFromCmdlineArgs.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ let internal setupParsed config =
3131
setupCompilationMethod method
3232

3333
printfn $"WorkingDir = {workingDir}"
34-
workingDir |> Option.iter (fun dir -> Environment.CurrentDirectory <- replaceCodeRoot dir)
34+
workingDir |> Option.iter (fun dir -> Environment.CurrentDirectory <- dir)
3535
args
3636

3737
let internal TestCompilerFromArgs (config : Args) : unit =

tests/ParallelTypeCheckingTests/Tests/Utils.fs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ open OpenTelemetry
1111
open OpenTelemetry.Resources
1212
open OpenTelemetry.Trace
1313

14-
let CodeRoot =
15-
@$"{__SOURCE_DIRECTORY__}\.checkouts\fcs"
16-
let replaceCodeRoot (s : string) = s.Replace("$CODE_ROOT$", CodeRoot)
1714
let packages =
1815
// Here we assume that the NuGet packages are located in a certain user folder,
1916
// and that the projects being compiled use that global package cache
@@ -22,7 +19,6 @@ let packages =
2219
Environment.ExpandEnvironmentVariables(pathWithEnv);
2320
let replacePaths (s : string) =
2421
s
25-
|> replaceCodeRoot
2622
|> fun s -> s.Replace("$PACKAGES$", packages)
2723

2824
[<Struct>]

0 commit comments

Comments
 (0)