Skip to content

Commit

Permalink
Temporary work-round - Looks like we might need to mutex around write…
Browse files Browse the repository at this point in the history
…s in the deferred .Net Framework case (UnitTestWithAltCoverRunner)
  • Loading branch information
SteveGilham committed Jul 22, 2024
1 parent a143bda commit 7c3373e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Build/targets.fs
Original file line number Diff line number Diff line change
Expand Up @@ -2187,6 +2187,8 @@ module Targets =

// Only use
let baseFilter = AltCoverFilterTypeSafe
let eager (p: TypeSafe.PrepareOptions) = { p with Eager = TypeSafe.Flag true }
let eagerfilter = baseFilter >> eager

let tests =
[ (Path.getFullName "_Binaries/AltCover.Tests/Debug+AnyCPU/net472", // test directory
Expand All @@ -2195,7 +2197,12 @@ module Targets =
"./_Reports/UnitTestWithAltCoverRunnerReport.xml", // relative nunit reporting
[ Path.getFullName // test assemblies
"_Binaries/AltCover.Tests/Debug+AnyCPU/net472/__UnitTestWithAltCoverRunner/AltCover.Tests.dll" ],
baseFilter,
eagerfilter,
//>> (fun (p: TypeSafe.PrepareOptions) -> { p with Eager = Set }),
//TypeFilter =
// [ "ProxyObject" ]
// |> Seq.map TypeSafe.Raw
// |> p.TypeFilter.Join }),
keyfile)
(Path.getFullName "_Binaries/AltCover.Api.Tests/Debug+AnyCPU/net472", // test directory
"./__ApiTestWithAltCoverRunner", // relative output
Expand Down

0 comments on commit 7c3373e

Please sign in to comment.