From 2be244bf2da534c49520bac3431e00c2475a3282 Mon Sep 17 00:00:00 2001 From: Andrew Martin Date: Wed, 17 Apr 2024 10:08:08 +0100 Subject: [PATCH] Run tests with run rather than test --- build.fsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.fsx b/build.fsx index 2d36f8d..8dda5c5 100644 --- a/build.fsx +++ b/build.fsx @@ -97,7 +97,7 @@ Target.create "RunTests" (fun _ -> let rHome = Environment.environVarOrFail "R_HOME" Trace.logf "R_HOME is set as %s" rHome let result = Fake.DotNet.DotNet.exec (fun args -> - { args with Verbosity = Some Fake.DotNet.DotNet.Verbosity.Normal}) "test" ("bristlecone.sln") + { args with Verbosity = Some Fake.DotNet.DotNet.Verbosity.Normal}) "run" ("tests/Bristlecone.Tests") if result.ExitCode <> 0 then failwith "Tests failed" )