Enable coredumps on unix (#25551)
authorJarret Shook <jashoo@microsoft.com>
Wed, 3 Jul 2019 23:23:22 +0000 (16:23 -0700)
committerGitHub <noreply@github.com>
Wed, 3 Jul 2019 23:23:22 +0000 (16:23 -0700)
* Enable coredumps on unix

* Remove morph change

tests/helixpublishwitharcade.proj

index a361d4b..a128099 100644 (file)
     <HelixPreCommand Include="export __TestEnv=$HELIX_WORKITEM_PAYLOAD/$(TestEnvFileName)" />
     <HelixPreCommand Include="export __TestTimeout=$(TimeoutPerTestInMilliseconds)" Condition=" '$(TimeoutPerTestInMilliseconds)' != '' " />
     <HelixPreCommand Include="cat $__TestEnv" />
+
+    <!-- Setup coredumps for linux. Core Dumps are currently not supported   -->
+    <!-- on OSX                                                              -->
+    <HelixPreCommand Include="sudo bash -c 'echo /home/helixbot/dotnetbuild/dumps/core.%u.%p > /proc/sys/kernel/core_pattern'" Condition=" '$(BuildOS)' != 'OSX' " />
   </ItemGroup>
 
   <PropertyGroup>