From c3a6191ddfd9b6f5e510c6777ddca8883f6ff4c8 Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Mon, 23 Jul 2018 18:23:00 -0500 Subject: [PATCH 1/2] close #250 - fix params --- build.fsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.fsx b/build.fsx index eb261a5a..b768b643 100644 --- a/build.fsx +++ b/build.fsx @@ -127,8 +127,10 @@ Target "NBench" <| fun _ -> |> append (filename project) |> append "--output" |> append outputPerfTests - |> append "--concurrent true" - |> append "--trace true" + |> append "--concurrent" + |> append "true" + |> append "--trace" + |> append "true" |> append "--diagnostic" |> append "--no-build" |> toText From 905454c5751f1e56981a1b2e25721bb4a56be47a Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Tue, 24 Jul 2018 16:04:33 -0500 Subject: [PATCH 2/2] fixed the formatting of the parameters on their way into the NBench executable --- src/NBench.Execution/CommandLine.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/NBench.Execution/CommandLine.cs b/src/NBench.Execution/CommandLine.cs index bf9a76f8..0ee442b4 100644 --- a/src/NBench.Execution/CommandLine.cs +++ b/src/NBench.Execution/CommandLine.cs @@ -166,21 +166,21 @@ public static string FormatCapturedArguments(bool includeOutput = true) string output = ""; if (HasProperty(TracingKey)) - output += $"{TracingKey}={GetSingle(TracingKey)} "; + output += $"{TracingKey} {GetSingle(TracingKey)} "; if (HasProperty(ConcurrentKey)) { - output += $"{ConcurrentKey}={GetSingle(ConcurrentKey)} "; + output += $"{ConcurrentKey} {GetSingle(ConcurrentKey)} "; } if (HasProperty(ExcludeKey)) { - output += $"{ExcludeKey}={string.Join(",", GetProperty(ExcludeKey))} "; + output += $"{ExcludeKey} {string.Join(",", GetProperty(ExcludeKey))} "; } if (HasProperty(IncludeKey)) { - output += $"{IncludeKey}={string.Join(",", GetProperty(IncludeKey))} "; + output += $"{IncludeKey} {string.Join(",", GetProperty(IncludeKey))} "; } if (HasProperty(ConfigurationKey)) @@ -190,7 +190,7 @@ public static string FormatCapturedArguments(bool includeOutput = true) if (HasProperty(OutputKey) && includeOutput) { - output += $"{OutputKey}={GetSingle(OutputKey)} "; + output += $"{OutputKey} {GetSingle(OutputKey)} "; } if (HasProperty(DiagnosticsKey))