Commit Graph
8 Commits
Author SHA1 Message Date
Viktor Hofer b661c58b1c Replace netstandard test projects with tfms
Netstandard test projects are broken by design and don't support the
Microsoft.Net.Test.SDK. Replacing the netstandard tfm with the concrete
implementation tfms.


Commit migrated from https://github.com/dotnet/corefx/commit/d29c16c99c6045ee67444a7a693dd4476861c463
2019-05-30 16:18:41 +02:00
Viktor Hofer f8a8530d0f Project msbuild syntax cleanup (dotnet/corefx#35686)
* Remove license header from non-shipping files

* Remove obsolete Project attributes

* Remove xml header and remove DefaultTargets


Commit migrated from https://github.com/dotnet/corefx/commit/c390ce7df50252e11f5d322276e9d19e046d1332
2019-03-03 18:55:25 +01:00
Viktor Hofer a177aa4888 Promote tests to netstandard (dotnet/corefx#31966)
* Promote tests to netstandard

* Disable uap test run

* Uncomment constant define, file condition positive

* Disable failing uap tests


Commit migrated from https://github.com/dotnet/corefx/commit/559d5401e6bb8a487ff499f4beff5bf5d83961a3
2018-08-27 20:03:05 +02:00
Viktor Hofer 69408edf6d Deactivating System.IO.FileSystem.AccessControl tests on uap/uapaot (dotnet/corefx#19750)
* Deactivating ACL tests on uap/uapaot

* Add reason why disabling tests

* Disabling tests for uap/uapaot

* Changed project configs in test


Commit migrated from https://github.com/dotnet/corefx/commit/6fc97cfbc24d97a2d4843cfc10db28d8bfc2141d
2017-05-16 01:31:39 -07:00
Tarek Mahmoud Sayed 77cad86b1e Remove versioned configuration from test projects (dotnet/corefx#15879)
The changes onclude some other minor clean up in the test project files

Commit migrated from https://github.com/dotnet/corefx/commit/62212cca900081173fce70991c3a0b30393994a3
2017-02-06 13:52:11 -08:00
Tarek Mahmoud Sayed 7395af32ad Enable compiling the test projects against the configuration (dotnet/corefx#15743)
* 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
2017-02-02 17:54:40 -08:00
Alex Perovich 573869c47f Automated update of ns1.7->ns2.0 and nca1.1->nca2.0
Commit migrated from https://github.com/dotnet/corefx/commit/1f8b5264a8156f91c48b2dc344d5410ee6f574cb
2017-01-10 16:20:42 -08:00
Eric Mellino dd3d24027d Add Configurations.props files for test projects, include tests in build.proj (dotnet/corefx#14663)
* [WIP]Created src\tests.proj which is mostly building all tests

* Convert test project .builds to Configuration.props

* Fix test paths in targetingpack.props, move test-runtime.

* Move test-runtime under external.
* Rename RuntimeDir->RuntimePath in targetingpacks.props and
  Xunit.Runtime.depproj.
* Remove test-runtime project.json from the SupplementalTestData list in
  dir.targets.

* Remove XUnit.Runtime.depproj from tests.proj

* Convert test .builds files to Configuration.props.

* Revert "Convert test project .builds to Configuration.props"

This reverts commit dotnet/corefx@1efc4d9a02.

* Fix compilation error in System.Collections.Concurrent.Tests

* Fix condition in System.Collections ref project

* Fix two more Collections test project issues

* Add Configuration.props for System.Collections ref

* Fix TargetGroup conditions in System.Collections.Tests.csproj.

* Fix compilation problems with NameResoltion.Pal.Tests.

* Fix compilation errors in SqlClient Stress tests

* Fix IO.Compression.Performance tests compilation

* Fix compilation and configurations of System.Net.Http.Unit.Tests.csproj.

* Fix compilation issues in System.Private.Xml.Linq tests

* Disable XsltScenarios.Tests project, like it was before.

* Fix missing DefineConstants for System.Linq ref project.

* Fix compilation of System.Net.Primitives.Pal.Tests.csproj

* Fix compilation of System.Net.Primitives.UnitTests.Tests.csproj

* Fix compilation of System.Security.Cryptography.Cng.Tests.csproj.

* Fix compilation of System.Net.Primitives reference project

* Fix compilation of System.Net.Security ref project

* Fix compilation of SYstem.Net.Security.Tests.csproj

* Fix configuration of X509Certificates ref project

* Fix compilation errors in System.Net.Http.Unit.Tests.csproj

* Fix Common.Tests.csproj

* Fix System.Diagnostics.Debug.Tests.csproj

* Fix Microsoft.Win32.Registry.Tests.csproj

* Add runtime.native.System.Data.SqlClient.sni to external project

* Fix System.Diagnostics.TraceSource.Tests.csproj

* Fix System.IO.Compression.Performance.Tests.csproj

* Move supplemental test data into test-runtime/project.json

* Fix System.IO.FileSystem.Watcher.Tests.csproj

* Fix System.IO.FileSystem.Tests.csproj

* Fix System.IO.Pipes.AccessControl.Tests.csproj

* Fix System.IO.MemoryMappedFiles.Tests.csproj

* Fix System.IO.Pipes.Tests.csproj

* Fix System.Json.Tests.csproj

* Add missing supplemental test data for net security tests

* Fix resource names in System.Xml.XPath.XDocument.Tests.csproj

* Fix Assembly.Location test case

* Fix assembly loading paths in DefaultLoadContextTest.cs

* Fix issues in System.Runtime.Loader.Tests.csproj

* Fix RootNamespace in ResourceManager tests

* Mark OpenSSL tests as unsupported on Windows

* Fix RootNamespace in System.Xml.XPath.Tests.csproj

* Fix RootNamespace in System.Xml.XPath.XmlDocument.Tests.csproj

* Fix System.IO.Compression.Tests.csproj

* Add missing Configurations.props files for System.Net projects

* Fix compilation issues in WinHttpHandler tests

* Add fixes and a workaround for Linq.Expressions tests

* Add workaround for System.Runtime.Tests

* Use extension methods explicitly in Ref.Emit tests

* Hook up test projects into build

* Fix build configuration of Crypto.Primitives for netcoreapp

* Enable VB tests outside Windows

* Enable Mail tests outside windows

* Don't run Unsafe tests outside windows

* Don't build Unsafe tests outside Windows

* Don't build WebServer project outside of Windows.

* Fix corerun path for Unix tests.

* Fix casing of 'Native' directory in NETCoreApp private pkgproj

* Remove runtime-specific stuff from Xunit.Runtime.depproj

* Move tests into a separate project ('tests.msbuild') which isn't built in build.proj

* Remove duplicate types from NameResolution.Pal tests

* Skip tests in a project if there is no compatible configuration.

* Include internal socket types only on Windows in NameResolution tests

* Manually fix S.R.InteropServices configurations

* Rename tests.msbuild -> tests.builds

* Manually fix System.Text.Encoding.Tests.csproj configuration

* Manually fix System.Threading.Tests configuration

* Manually clean up System.Runtime.Tests.csproj

* Fix System.IO.FileSystem.Tests configurations

* Manually fix System.Globalization.Tests configurations

* Manually fix System.IO.Pipes.Tests configurations

* Manually fix System.IO.Compression.Tests configurations

* Manually fix System.Runtime.Extensions.Tests configurations

* Manually fix System.IO.MemoryMappedFiles.Tests configurations

* Manually fix S.Diagnostics.Process.Tests configurations

* Manually fix System.ComponentModel.TypeConverter.Tests configurations

* Misc PR feedback.

* Use HostRunnerName instead of HostRunner in Process tests

* Fix configurations for S.ServiceProcess.ServiceController.Tests

* Revert to using ConfigurationErrorMsg to check if tests should be skipped.

Configuration still defaults to 'Debug' even if there is no valid configuration.


Commit migrated from https://github.com/dotnet/corefx/commit/2c0352ec38f9f6f602ae819f0cafb02c1908f137
2017-01-03 13:27:19 -08:00