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 b7301e0..36d0b98 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 c046657..711d243 100644 (file)
@@ -28,7 +28,8 @@
   </ItemGroup>
   <PropertyGroup>
     <DebugType>None</DebugType>
-    
+    <Optimize>True</Optimize> 
+    <JitOptimizationSensitive>True</JitOptimizationSensitive>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="lifetime2.cs" />
index 653ac4c..2c37c33 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 a99dc6b..1eb3afc 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>