$(BaseOutputPathWithConfig)
$(XunitTestBinBase)\TestWrappers\
1
<_SkipTestDir Include="@(DisabledTestDir)" />
$([System.IO.Path]::GetFullPath(%(Identity)))
$([System.IO.Path]::GetFullPath(%(AllRunnableTestPaths.Identity)))
@(AllRunnableTestPaths->Count())
False
True
<_XunitWrapperGen >
$(XUnitTestBinBase)\$(CategoryWithSlash)
$(MicrosoftNETCoreAppVersion)
]]>
<_CMDDIR_Parent>$([System.IO.Path]::GetDirectoryName($(_CMDDIR)))
<_CMDDIR_Grandparent>$([System.IO.Path]::GetDirectoryName($(_CMDDIR_Parent)))
$([System.String]::Copy('$(_CMDDIR)').Replace("$(_CMDDIR_Grandparent)\",""))
$([System.String]::Copy('$(_CMDDIR)').Replace("$(_CMDDIR_Grandparent)/",""))
$([System.String]::Copy('$(CategoryWithSlash)').Replace('\','.'))
$([System.String]::Copy('$(CategoryWithSlash)').Replace('/','.'))
$(Category).XUnitWrapper
$(XunitWrapperGeneratedCSDirBase)$(Category)
<_XunitProlog Condition=" '$(_XunitProlog)'=='' ">
<_XunitEpilog Condition=" '$(_XunitEpilog)'=='' ">
testExecutable = testExecutable.Replace("\\", "/")%3B
$(Category)
$([MSBuild]::MakeRelative($(_CMDDIR), %(FullPath)))
$([MSBuild]::MakeRelative($(XunitTestBinBase), %(AllCMDs.FullPath)))
_$([MSBuild]::ValueOrDefault(%(AllCMDs.RelativeToCMDDIR),"").Replace(".","_").Replace("\","_").Replace("-","_"))
_$([MSBuild]::ValueOrDefault(%(AllCMDs.RelativeToCMDDIR),"").Replace("cmd","").Replace(".","_").Replace("\","_").Replace("-","_"))
_$([MSBuild]::ValueOrDefault(%(AllCMDs.RelativeToCMDDIR),"").Replace(".","_").Replace("/","_").Replace("-","_"))
_$([MSBuild]::ValueOrDefault(%(AllCMDs.RelativeToCMDDIR), '').Replace('sh','').Replace('.','_').Replace('/','_').Replace('-','_'))
%(AllCMDs.TestGroup)
allOutput = new List()%3B
try
{
allOutput.AddRange(System.IO.File.ReadAllLines(errorFile))%3B
}
catch (Exception ex)
{
allOutput.Add("Unable to read error file: " + errorFile)%3B
allOutput.Add(ex.Message)%3B
}
allOutput.Add(string.Empty)%3B
allOutput.Add("Return code: " + ret)%3B
allOutput.Add("Raw output file: " + outputFile)%3B
allOutput.Add("Raw output:")%3B
try
{
allOutput.AddRange(System.IO.File.ReadAllLines(outputFile))%3B
}
catch(Exception ex)
{
allOutput.Add("Unable to read output file: " + outputFile)%3B
allOutput.Add(ex.Message)%3B
}
allOutput.Add("To run the test:")%3B
allOutput.Add("> set CORE_ROOT=" + _Global.coreRoot)%3B
allOutput.Add("> " + testExecutable)%3B
foreach (string line in allOutput)
{
output.WriteLine(line)%3B
}
Assert.True(false, string.Join(Environment.NewLine, allOutput))%3B
}
}
}
]]>
$(StableVersion)
$(PackageVersion)-$(PreReleaseLabel)-$(BuildNumberMajor)-$(BuildNumberMinor)
$(VersionToRestore)
$(MicrosoftNETCoreRuntimeCoreCLRPackageVersion)
<_sharedFrameworkDepsJson Include="$(DotnetCliPath)\shared\Microsoft.NETCore.App\*\Microsoft.NETCore.App.deps.json" />
<_OriginalDepsJsonPath>%(_sharedFrameworkDepsJson.FullPath)
<_OutputTestSharedFrameworkDepsPath>$(NETCoreAppTestSharedFrameworkPath)\Microsoft.NETCore.App.deps.json