diff options
author | Rama krishnan Raghupathy <ramarag@microsoft.com> | 2015-03-04 13:19:38 -0800 |
---|---|---|
committer | Rama krishnan Raghupathy <ramarag@microsoft.com> | 2015-03-04 13:26:40 -0800 |
commit | 82b8f9e99669f8fc55d9093d5533eac53978888f (patch) | |
tree | 404541a5f362ff93e9fb03ae489f9600057401d7 | |
parent | 5b46f36d6b5b28c81a15ddbe045035ca5604097f (diff) | |
download | coreclr-82b8f9e99669f8fc55d9093d5533eac53978888f.tar.gz coreclr-82b8f9e99669f8fc55d9093d5533eac53978888f.tar.bz2 coreclr-82b8f9e99669f8fc55d9093d5533eac53978888f.zip |
Enabling test within the same category to run in parallel
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | tests/runtest.proj | 46 |
2 files changed, 24 insertions, 23 deletions
diff --git a/.gitignore b/.gitignore index e69eb76426..fb22ff6066 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ bld/ [Oo]bj/ msbuild.log binaries +intermediates # Roslyn stuff *.sln.ide diff --git a/tests/runtest.proj b/tests/runtest.proj index de11686585..8265fcb35a 100644 --- a/tests/runtest.proj +++ b/tests/runtest.proj @@ -203,7 +203,28 @@ using CoreclrTestLib%3B namespace $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").Replace("-","_")) { -public class $([System.String]::Copy($(Category)).Replace(".","_").Replace("\","").Replace("-","_")) + +]]> + </_XunitProlog> + <_XunitEpilog Condition=" '$(_XunitEpilog)'=='' "> + <![CDATA[ +} + +]]> + </_XunitEpilog> + </PropertyGroup> + <ItemGroup> + <AllCMDsPresent Include="$(_CMDDIR)\**\*.cmd" /> + <AllCMDExcludeFilter Include="@(AllCMDsPresent)" Exclude="@AllRunnableTestPaths"/> + <AllCMDs Include="@(AllCMDsPresent)" Exclude="@AllCMDExcludeFilter"/> + + <AllCommamds Include="@(AllCMDs)" > + + <_FactName>$([System.String]::Copy('%(AllCMDs.FullPath)').Replace("$(_CMDDIR)",'').Replace(".","_"))</_FactName> + <_XunitFact > + <![CDATA[ + +public class $([System.String]::Copy('%(AllCMDs.FullPath)').Replace("$(_CMDDIR)",'').Replace("cmd","").Replace(".","_").Replace("\","_").Replace("-","_")) { static bool category_initlialized = false%3B static bool runningInWindows = false%3B @@ -237,28 +258,6 @@ public class $([System.String]::Copy($(Category)).Replace(".","_").Replace("\"," category_initlialized = true%3B } } - -]]> - </_XunitProlog> - <_XunitEpilog Condition=" '$(_XunitEpilog)'=='' "> - <![CDATA[ - } -} - -]]> - </_XunitEpilog> - </PropertyGroup> - <ItemGroup> - <AllCMDsPresent Include="$(_CMDDIR)\**\*.cmd" /> - <AllCMDExcludeFilter Include="@(AllCMDsPresent)" Exclude="@AllRunnableTestPaths"/> - <AllCMDs Include="@(AllCMDsPresent)" Exclude="@AllCMDExcludeFilter"/> - - <AllCommamds Include="@(AllCMDs)" > - - <_FactName>$([System.String]::Copy('%(AllCMDs.FullPath)').Replace("$(_CMDDIR)",'').Replace(".","_"))</_FactName> - <_XunitFact > - <![CDATA[ - [Fact] public void $([System.String]::Copy('%(AllCMDs.FullPath)').Replace("$(_CMDDIR)",'').Replace(".","_").Replace("\","_").Replace("-","_"))() @@ -300,6 +299,7 @@ public class $([System.String]::Copy($(Category)).Replace(".","_").Replace("\"," Assert.True(ret == CoreclrTestWrapperLib.EXIT_SUCCESS_CODE, msg)%3B } + } ]]> |