We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a71e646 commit a56e095Copy full SHA for a56e095
1 file changed
build/Testing.fs
@@ -7,8 +7,10 @@ open Fake.DotNet
7
8
let test testsDir testsProj framework =
9
//DotNet.test (withWorkingDirectory testsDir >> (fun o -> { o with Framework = Some framework; NoRestore = true; NoBuild = true; Configuration = DotNet.BuildConfiguration.Release })) testsProj
10
- DotNet.exec
11
- (fun c -> { c with WorkingDirectory = testsDir })
12
- (sprintf "run --project %s --configuration Release --framework %s --no-restore --no-build" testsProj framework)
13
- ""
14
- |> ignore<ProcessResult>
+ let result =
+ DotNet.exec
+ (fun c -> { c with WorkingDirectory = testsDir })
+ (sprintf "run --project %s --configuration Release --framework %s --no-restore --no-build" testsProj framework)
+ ""
15
+ if not result.OK then failwithf "Tests Failed: %A" result
16
+
0 commit comments