Fix and reenable lifetime2
authorRuss Keldorph <Russ.Keldorph@microsoft.com>
Wed, 18 May 2016 04:33:51 +0000 (21:33 -0700)
committerRuss Keldorph <Russ.Keldorph@microsoft.com>
Wed, 18 May 2016 04:37:43 +0000 (21:37 -0700)
lifetime2 is another questionable test case that relies on lifetime
guarantees that don't exist.  Per our convention, force optimization on
and mark it as "optimization sensitive" to make a best effort to get it to
pass.

Fixes #1037

tests/issues.targets
tests/src/JIT/Directed/lifetime/lifetime2.csproj
tests/testsFailingOutsideWindows.txt
tests/x86_legacy_backend_issues.targets

index b7301e02622d397acd08b8c2263e83a798a3bad5..36d0b9894cae39502d86bcc7b17c00c3068780a7 100644 (file)
@@ -1,9 +1,6 @@
 <Project DefaultTargets = "GetListOfTestCmds"
     xmlns="http://schemas.microsoft.com/developer/msbuild/2003" >
     <ItemGroup Condition="'$(XunitTestBinBase)' != ''">
-        <ExcludeList Include="$(XunitTestBinBase)\JIT\Directed\lifetime\lifetime2\lifetime2.cmd" >
-             <Issue>1037</Issue>
-        </ExcludeList>
         <ExcludeList Include="$(XunitTestBinBase)\JIT\opt\Tailcall\TailcallVerifyWithPrefix\TailcallVerifyWithPrefix.cmd" >
              <Issue>2329</Issue>
         </ExcludeList>
index c04665798ff34dd2b7036f7bd3f2034e21d06097..711d243bf6868dd2c0c2e2e89e568821ce551ff1 100644 (file)
@@ -28,7 +28,8 @@
   </ItemGroup>
   <PropertyGroup>
     <DebugType>None</DebugType>
-    
+    <Optimize>True</Optimize> 
+    <JitOptimizationSensitive>True</JitOptimizationSensitive>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="lifetime2.cs" />
index 653ac4c5a5976f9d2d046700f0fa79f005fc0697..2c37c330babd393e7b4da0019347f2644186c8d4 100644 (file)
@@ -6,7 +6,6 @@ JIT/Directed/UnrollLoop/loop6_cs_d/loop6_cs_d.sh
 JIT/Directed/UnrollLoop/loop6_cs_do/loop6_cs_do.sh
 JIT/Directed/UnrollLoop/loop6_cs_r/loop6_cs_r.sh
 JIT/Directed/UnrollLoop/loop6_cs_ro/loop6_cs_ro.sh
-JIT/Directed/lifetime/lifetime2/lifetime2.sh
 JIT/Methodical/refany/_dbgstress1/_dbgstress1.sh
 JIT/Methodical/refany/_dbgstress3/_dbgstress3.sh
 JIT/Methodical/refany/_il_dbgseq/_il_dbgseq.sh
index a99dc6b23b2d0ba5de8d3efed5cf8117af391c55..1eb3afc60cb4845084c26c90921b15fc97aa174b 100644 (file)
     <ExcludeList Include="$(XunitTestBinBase)\JIT\Performance\CodeQuality\Roslyn\CscBench\CscBench.cmd">
       <Issue>needs triage</Issue>
     </ExcludeList>
-    <ExcludeList Include="$(XunitTestBinBase)\JIT\Directed\lifetime\lifetime2\lifetime2.cmd">
-      <Issue>needs triage</Issue>
-    </ExcludeList>
     <ExcludeList Include="$(XunitTestBinBase)\JIT\Methodical\delegate\_simpleoddpower_il_r\_simpleoddpower_il_r.cmd">
       <Issue>needs triage</Issue>
     </ExcludeList>