C:\git\corefx\src\System.Text.RegularExpressions\tests>dotnet msbuild /t:RebuildAndTest /p:Coverage=true
Microsoft (R) Build Engine version 15.8.160-preview+gaf9d27ba72 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
RemoteExecutorConsoleApp -> C:\git\corefx\bin\AnyOS.AnyCPU.Debug\RemoteExecutorConsoleApp\netstandard\RemoteExecutorConsoleApp.exe
System.Text.RegularExpressions.Tests -> C:\git\corefx\bin\AnyOS.AnyCPU.Debug\System.Text.RegularExpressions.Tests\netcoreapp\System.Text.RegularExpressions.Tests.dll
C:\git\corefx\bin/testhost/netcoreapp-Windows_NT-Debug-x64/shared/Microsoft.NETCore.App/10.10.10/System.Text.RegularExpressions.dll : warning : SymUnmanagedWriterException: Specified method is not supported. [C:\git\corefx\src\System.Text.RegularExpressions\tests\System.Text.RegularExpressions.Tests.csproj]
C:\git\corefx\bin/testhost/netcoreapp-Windows_NT-Debug-x64/shared/Microsoft.NETCore.App/10.10.10/System.Text.RegularExpressions.dll : warning : at Microsoft.DiaSymReader.SymUnmanagedWriterFactory.CreateWriter(ISymWriterMetadataProvider metadataProvider, SymUnmanagedWriterCreationOptions options) in /_/src/Microsoft.DiaSymReader/Writer/SymUnmanagedWriterFactory.cs:line 86 [C:\git\corefx\src\System.Text.RegularExpressions\tests\System.Text.RegularExpressions.Tests.csproj]
C:\git\corefx\bin/testhost/netcoreapp-Windows_NT-Debug-x64/shared/Microsoft.NETCore.App/10.10.10/System.Text.RegularExpressions.dll : warning : at Microsoft.DiaSymReader.Tools.PdbConverter.ConvertPortableToWindows(PEReader peReader, MetadataReader pdbReader, Stream targetPdbStream, PortablePdbConversionOptions options) in /_/src/Microsoft.DiaSymReader.Converter/PdbConverter.cs:line 169 [C:\git\corefx\src\System.Text.RegularExpressions\tests\System.Text.RegularExpressions.Tests.csproj]
C:\git\corefx\bin/testhost/netcoreapp-Windows_NT-Debug-x64/shared/Microsoft.NETCore.App/10.10.10/System.Text.RegularExpressions.dll : warning : at Microsoft.DiaSymReader.Tools.PdbConverter.ConvertPortableToWindows(PEReader peReader, Stream sourcePdbStream, Stream targetPdbStream, PortablePdbConversionOptions options) in /_/src/Microsoft.DiaSymReader.Converter/PdbConverter.cs:line 143 [C:\git\corefx\src\System.Text.RegularExpressions\tests\System.Text.RegularExpressions.Tests.csproj]
C:\git\corefx\bin/testhost/netcoreapp-Windows_NT-Debug-x64/shared/Microsoft.NETCore.App/10.10.10/System.Text.RegularExpressions.dll : warning : at Microsoft.DotNet.Build.Tasks.ConvertPortablePdbsToWindowsPdbs.ConvertPortableToWindows(ITaskItem file, PdbConverter converter, PortablePdbConversionOptions parsedConversionOptions) [C:\git\corefx\src\System.Text.RegularExpressions\tests\System.Text.RegularExpressions.Tests.csproj]
C:\git\corefx\bin/testhost/netcoreapp-Windows_NT-Debug-x64/shared/Microsoft.NETCore.App/10.10.10/System.Text.RegularExpressions.dll : warning : at Microsoft.DotNet.Build.Tasks.ConvertPortablePdbsToWindowsPdbs.Execute() [C:\git\corefx\src\System.Text.RegularExpressions\tests\System.Text.RegularExpressions.Tests.csproj]
C:\git\corefx\bin/testhost/netcoreapp-Windows_NT-Debug-x64/shared/Microsoft.NETCore.App/10.10.10/System.Text.RegularExpressions.dll : warning : NotSupportedException: Specified method is not supported. [C:\git\corefx\src\System.Text.RegularExpressions\tests\System.Text.RegularExpressions.Tests.csproj]
C:\git\corefx\bin/testhost/netcoreapp-Windows_NT-Debug-x64/shared/Microsoft.NETCore.App/10.10.10/System.Text.RegularExpressions.dll : warning : at Microsoft.DiaSymReader.SymUnmanagedWriterFactory.CreateWriter(ISymWriterMetadataProvider metadataProvider, SymUnmanagedWriterCreationOptions options) in /_/src/Microsoft.DiaSymReader/Writer/SymUnmanagedWriterFactory.cs:line 81 [C:\git\corefx\src\System.Text.RegularExpressions\tests\System.Text.RegularExpressions.Tests.csproj]
C:\git\corefx\bin/testhost/netcoreapp-Windows_NT-Debug-x64/shared/Microsoft.NETCore.App/10.10.10/System.Text.RegularExpressions.dll : warning : [C:\git\corefx\src\System.Text.RegularExpressions\tests\System.Text.RegularExpressions.Tests.csproj]
Replacing Portable PDB with Windows Pdb in place!
Using C:\git\corefx\bin\testhost\netcoreapp-Windows_NT-Debug-x64\ as the test runtime folder.
Executing in C:\git\corefx\bin\tests\System.Text.RegularExpressions.Tests\netcoreapp-Windows_NT-Debug-x64\
----- start 4:38:12.62 =============== To repro directly: =====================================================
pushd C:\git\corefx\bin\tests\System.Text.RegularExpressions.Tests\netcoreapp-Windows_NT-Debug-x64\
call C:\git\corefx\packages/OpenCover\4.6.519\tools\OpenCover.Console.exe -oldStyle -filter:"+[System.Text.RegularExpressions]*" -excludebyfile:"*\Common\src\System\SR.*" -nodefaultfilters -excludebyattribute:*.ExcludeFromCodeCoverage* -skipautoprops -hideskipped:All -threshold:1 -returntargetcode -register:user -target:C:\git\corefx\bin\testhost\netcoreapp-Windows_NT-Debug-x64\\dotnet.exe -output:C:\git\corefx\bin/tests/coverage\System.Text.RegularExpressions.Tests.coverage.xml -targetargs:"xunit.console.dll System.Text.RegularExpressions.Tests.dll -xml testResults.xml -notrait Benchmark=true -notrait category=nonnetcoreapptests -notrait category=nonwindowstests -notrait category=OuterLoop -notrait category=failing -notrait Benchmark=true"
popd
===========================================================================================================
Executing: C:\git\corefx\bin\testhost\netcoreapp-Windows_NT-Debug-x64\dotnet.exe
xUnit.net Console Runner v2.4.0 (64-bit .NET Core 4.6.26720.05)
Discovering: System.Text.RegularExpressions.Tests
Discovered: System.Text.RegularExpressions.Tests
Starting: System.Text.RegularExpressions.Tests
Finished: System.Text.RegularExpressions.Tests
=== TEST EXECUTION SUMMARY ===
System.Text.RegularExpressions.Tests Total: 1498, Errors: 0, Failed: 0, Skipped: 0, Time: 5.963s
Committing...
No results, this could be for a number of reasons. The most common reasons are:
1) missing PDBs for the assemblies that match the filter please review the
output file and refer to the Usage guide (Usage.rtf) about filters.
2) the profiler may not be registered correctly, please refer to the Usage
guide and the -register switch.
----- end 4:38:20.71 ----- exit code 0 ----------------------------------------------------------
Loading report 'C:\git\corefx\bin\tests\coverage\System.Text.RegularExpressions.Tests.coverage.xml'
Preprocessing report
Initiating parser for OpenCover
Initializing report builders for report types: Html, Badges
Analyzing 0 classes
Creating summary
Report generation took 0.4 seconds
C:\git\corefx\src\System.Text.RegularExpressions\tests>
``´
See the warnings. Testing with xunit 2.4.0. cc @pjanotti.
Relates to dotnet/corefx#31260