Skip to content

Commit

Permalink
Merge branch 'dev' into fix-246-NU1605-reflections-downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb authored Jul 24, 2018
2 parents cb5aea0 + d1e2444 commit a1ce8bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions src/NBench.Execution/CommandLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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))
Expand Down

0 comments on commit a1ce8bf

Please # to comment.