Exclude some tests from Linker testing.
authorSwaroop Sridhar <swaroops@microsoft.com>
Wed, 22 Mar 2017 22:22:04 +0000 (15:22 -0700)
committerSwaroop Sridhar <Swaroop.Sridhar@microsoft.com>
Thu, 23 Mar 2017 00:32:38 +0000 (17:32 -0700)
Exclude some tests while testing via ILLINK.
The reasons are mentioned in issues.targets.

tests/issues.targets
tests/runtest.cmd

index c2eb886..c8ca846 100644 (file)
             <Issue>needs triage</Issue>
         </ExcludeList>
     </ItemGroup>
+
+    <!-- Failures while testing via ILLINK -->
+    
+    <ItemGroup Condition="'$(XunitTestBinBase)' != '' and '$(RunTestsViaIllink)' == 'true'">
+        <ExcludeList Include="$(XunitTestBinBase)\JIT\superpmi\superpmicollect\superpmicollect.cmd">
+            <!-- Linker runs reset CORE_ROOT to the linked directory based on superpmicollect.exe.
+                 The test runs other benchmarks to collect superpmi data.
+                 These tests cannot run from the binaries generated wrt superpmicollect.exe -->
+            <Issue>By Test Infrastructure design</Issue>
+        </ExcludeList>
+        <ExcludeList Include="$(XunitTestBinBase)\JIT\Directed\RVAInit\nested\nested.cmd">
+            <!-- Data refered from static field is dropped -->
+            <Issue>Bug</Issue>
+        </ExcludeList>
+    </ItemGroup>
     
 </Project>
index 58d4efb..dcff1bd 100644 (file)
@@ -160,6 +160,10 @@ if defined __AgainstPackages (
     set __msbuildCommonArgs=%__msbuildCommonArgs% /p:BuildTestsAgainstPackages=true
 )
 
+if defined DoLink (
+    set __msbuildCommonArgs=%__msbuildCommonArgs% /p:RunTestsViaIllink=true
+)
+
 REM Prepare the Test Drop
 REM Cleans any NI from the last run
 powershell "Get-ChildItem -path %__TestWorkingDir% -Include '*.ni.*' -Recurse -Force | Remove-Item -force"