Skip to content

Commit

Permalink
Removed blame from unit test execution
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmorato committed Jun 29, 2024
1 parent 500f3d9 commit 7c709fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions Build/OpenDDSharp.Build/Tasks/TestTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ public override void Run(BuildContext context)
Verbosity = DotNetVerbosity.Detailed,
Configuration = context.BuildConfiguration,
Loggers = { "trx;LogFileName=test-results.trx", "console;verbosity=detailed" },
Blame = true,
ArgumentCustomization = arg => arg.Append("--blame-hang --blame-hang-timeout 2m"),
};

context.DotNetTest(solutionFullPath + "/Tests/OpenDDSharp.UnitTest/OpenDDSharp.UnitTest.csproj", dotnetTestSettings);
Expand Down
5 changes: 2 additions & 3 deletions Tests/OpenDDSharp.UnitTest/OpenDDSharp.UnitTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
<PropertyGroup>
<IsARM64 Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'Arm64'">true</IsARM64>
<IsX64 Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'X64'">true</IsX64>
<TargetFrameworks Condition="('$(IsARM64)' != 'true') And ('$(Configuration)' == 'Release')">net462;net47;net471;net472;net48;net6.0;net7.0;net8.0;</TargetFrameworks>
<TargetFrameworks Condition="('$(IsARM64)' == 'true') And ('$(Configuration)' == 'Release')">net6.0;net7.0;net8.0;</TargetFrameworks>
<TargetFrameworks Condition="'$(Configuration)' == 'Debug'">net6.0;net8.0;</TargetFrameworks>
<IsPackable>false</IsPackable>
<CodeAnalysisRuleSet>..\..\OpenDDSharpRules.ruleset</CodeAnalysisRuleSet>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
Expand All @@ -16,6 +13,8 @@
<IsLinux Condition="$([MSBuild]::IsOSPlatform('Linux'))">true</IsLinux>
<IsOSX Condition="$([MSBuild]::IsOSPlatform('OSX'))">true</IsOSX>
<RootNamespace>OpenDDSharp.UnitTest</RootNamespace>
<TargetFrameworks Condition="'$(IsARM64)' != 'true'">net462;net47;net471;net472;net48;net6.0;net7.0;net8.0;</TargetFrameworks>
<TargetFrameworks Condition="'$(IsARM64)' == 'true'">net6.0;net7.0;net8.0;</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Optimize>false</Optimize>
Expand Down

0 comments on commit 7c709fd

Please sign in to comment.