* With this change we will have the next behavior when building/running tests:
-When building the tests we will still bin place the test assets to the OutputDirectory (corefx\bin\OSGroup.Configuration\TestProject\TargetGroup/)
-When running the tests we will bin place the tests assets to this new TestPath which will be the TestPath. This new path will be the test's working directory where we will bin place the RunTests.cmd and necessary dependencies in tests.targets. Also the testResults.xml will be found here after the test execution.
-TestPath is set to be bin/tests/<TestProject>/<BuildConfiguration>/ (i.e corefx\bin\tests\System.Collections.Immutable.Tests\netcoreapp-Windows_NT-Debug-x64) in dir.props
-This TestPath will be added to the BinPlaceDir in FrameworkTargeting.targets when BinPlaceTest is set to true. Then in the BinPlaceFiles target the test assets will be hardlinked to the TestPath.
This will isolate every test execution per build configuration and will allow people to run the same test project for all of the supported configurations on the same repo without having to clean the repo.
Commit migrated from https://github.com/dotnet/corefx/commit/664ca9508a03483a7fb2714b55b9cba885593d90
The recent change to unblock all serializable types
for Reflection (even if the types themselves are
internal) woke up the XUnit ToString() problem
again.
Now, reflecting on ToString() on these types
are throwing MME's rather than bleeding through
the prevaricator Type that pretends to have no
members to the public base type.
This is most irritating but there's not much for
it except to rd.xml these internal types
directly.
Commit migrated from https://github.com/dotnet/corefx/commit/679c8e0637111ea5e39036aca1a02d7db7d2b92f
Now instead of Use*Key a project can instead define the assembly key
in the project (genreally the common dir.pops for a project) using
the AssemblyKey property. The accepted values are Open, ECMA, MSFT,
Test.
This change allows for a repo to set the default key they want to use
for projects. In corefx we have switched the default to use the Open
key instead of the old BuildTools default of MSFT key.
As part of this update we are explicitly setting the AssemblyKey in
all the library projects (although it is really only necessary for
projects that aren't the default).
Also with this change we are updating all the new libraries that have
not yet shipped stable (compared to our 1.1 release) and making them
use the Open key. Which means that for prerelease dependencies there
might be some binary breaking changes to consume.
The following libraries ahven't shipped so there key is being
changed from MSFT to Open:
Microsoft.XmlSerializer.Generator
System.CodeDom
System.Configuration.ConfigurationManager
System.Data.Odbc
System.DirectoryServices
System.DirectoryServices.AccountManagement
System.DirectoryServices.Protocols
System.IO.Ports
System.Json
System.Memory
System.Net.HttpListener
System.Net.Mail
System.Net.ServicePoint
System.Net.WebClient
System.Net.WebProxy
System.Private.Xml
System.Private.Xml.Linq
System.Security.Cryptography.Xml
System.Security.Permissions
System.Transactions.Local
System.Web.HttpUtility
Commit migrated from https://github.com/dotnet/corefx/commit/ac09a797d09502ebab61f7167bb856846602e1e6
* Move a System.Collections test
Just moves the test to a more derived test class. In its current location, it's unnecessarily getting run multiple times but without any variation.
* 20170306 - Audit some active issues/v-lijiay
* Remove Active Issue 16750 and change performancetest to [Benchmark], remove the link in Fact when it has activeissue.
* The type or namespace name 'BenchmarkAttribute' could not be found, add using Microsoft.Xunit.Performance;
* 20170306 - Audit some active issues/v-lijiay
* Remove Active Issue 16750 and change performancetest to [Benchmark], remove the link in Fact when it has activeissue.
* The type or namespace name 'BenchmarkAttribute' could not be found, add using Microsoft.Xunit.Performance;
Commit migrated from https://github.com/dotnet/corefx/commit/31e2eb9779b8ec07c3363ed52c32e1838c4eb4de
* Enable tests to compile with netstandard
Most of the tests have netstandard configurations and it doesn't compile. the changes here is to fix the configurations and the tests to compile.
This is important step to get netfx tests compile too as we are in most of the time netfx fallback to netstandard configuration
The changes include some fixes to compile teh sources too.
* Fix System.Collections.Immutable
* update src configuration
* remove netstandard17 defines
* Split netcoreapp code to its own files
* Remove 17 from the test class name
Commit migrated from https://github.com/dotnet/corefx/commit/15b4f51c2f3cb924840e5407bb8d5fe03bb282ea
* Enable compiling the test projects against the configuration
The tests were compiled using the vertical configuration and not the best configuration picked from Configurations.props. this change is fix that and have all test projects configured accordingly.
This change ensuring netcoreapp runs successfully and we'll have another rounds later for other configurations like netfx, UAP...etc.
* Fix openssl test project on Linux distros
* Update the project configurations
* Update VS solution files
* update solution files
Commit migrated from https://github.com/dotnet/corefx/commit/e79912f8b77bc22abfd85e94b74c06e5d99e8381
After the change to use the appropriate references for a configuration
we needed to make sure that every library has a versionless targetgroup
so that it can build in the source build scenarios without requiring
external packages from NuGet.
For any library that is part of netstandard, its implementation should
not build against netstandard
For any library that is part of the imlpementation closure of netstandard,
its implementation should not build against netstandard (else we'd have cycles).
OpenSSL must keep its netstandard ref, however it has NETCoreApp specific API
dependencies. See https://github.com/dotnet/standard/issues/186. As such we
need to cross-compile both src and ref for NETCoreApp. I've moved the not-
supported assembly to be the 'netstandard' implementation.
Commit migrated from https://github.com/dotnet/corefx/commit/28097ca87cc2e8bcf7760f05732464b2c00eeaa4
Anything with type-forwards into corlib needs to be part of the shared
framework. It should also not ship as a package since it could get out
of sync with the corlib, so I've removed these packages as well and
ensured that they are part of the NETCoreApp targeting pack (removing
IsNETCoreAppRef=false).
There is one exception which is System.Buffers. In this case it will
also ship as a package in order to provide downlevel support. The
version in NETCoreApp will have precedence over the pacakge version
and we should consider omitting the NETCoreApp build from the package
once we bring that back.
Commit migrated from https://github.com/dotnet/corefx/commit/01eed8b5e0f0519333591ac5f3bd55fe6662959f
* Execute tests with dotnet cli
Update to reuse assets from Tools
Remove split IsManagedAssembly
Add DotNetHost as a platform specific dependency
* Run RemoteExecutorConsoleApp against dotnet
* Update dependencies and refactor property names
* PR Feedback
* Skip failing System.Runtime.Loader tests to unblock test runs
* Add runtimeconfig for RemoteExecutorConsoleApp
* Fix bad merge of build.proj
Remove debug statement of rid from dir.targets
Add tracking issue to skipped tests in System.Runtime.Loader for 3 tests
Cleanup tests.targets
* Ensure shared fx is generated before test build
* Fix exit code ordering for non-Windows runs
* Change TestModulesContainsCorerun to TestModulesContainsDotnet
Commit migrated from https://github.com/dotnet/corefx/commit/1bdedff433d19862e86f28d6fdf4bb3d0f9bde18