Commit Graph
15 Commits
Author SHA1 Message Date
Karthik Rajasekaran 5c93b350d3 Add NugetTargetMoniker to test projects and update remaining project references to pkgproj
Commit migrated from https://github.com/dotnet/corefx/commit/13e03705ced065850dc65900fccfd930426e87d7
2016-06-29 12:30:05 -07:00
Karthik Rajasekaran d73f6518c3 Update CoreFX tests to compile against a minimum of netstandard1.3 and add supports clauses for tests
CoreFX tests will now compile against netstandard1.3 as references and will now deploy for the platforms listed in their respective supports clause, provided the appropriate TestTFM is passed in.  The supports are fully listed inside runtime.json in the new TestSuite metapackage in buildtools. The tests will default to netcoreapp1.0 as their TestTFM.

CoreFx test projects now utilise a test csproj to pkgproj reference which determine the appropriate compile time and runtime assets needed.

Dependent on https://github.com/dotnet/buildtools/pull/770


Commit migrated from https://github.com/dotnet/corefx/commit/b4841454de7ddcd75e92e2bb24ebb238a82df43f
2016-06-15 11:23:11 -07:00
Jonathan Miller 7c2ce6913c Adding builds files for the test projects
Commit migrated from https://github.com/dotnet/corefx/commit/752599494fce80b5d0059a9090fdc010d8c7f45b
2016-03-31 10:46:26 -07:00
Wes Haggard f27c7dc024 Update project files adding default configurations
This add a default configuration before the Import of dirs.props
for any projects that don't have Debug as the default configuration.

Removed Configuration and Platform properties set after dirs.props
as they would have no affect and just cause confusion.

Removed OutputType=Library property as it isn't necessary.


Commit migrated from https://github.com/dotnet/corefx/commit/9e1da13cf6d5ff4b37b1867beb3411a2fe61da6a
2016-01-02 23:50:21 -08:00
Lakshmi Priya Sekar 2a499c5cbf Remove XunitTraitDiscoverers from corefx and reference the nuget package xunit.netcore.extensions.
Commit migrated from https://github.com/dotnet/corefx/commit/03e32211d668ee215f32c599849987cb7d9d4e2a
2015-05-07 16:15:32 -07:00
Eric StJohn 5db3ae33bf Convert all remaining package dependencies to project.json
DNX and BuildTools now support all of the nuget v2 conventions that we depend on so we can
move all remaining nuget v2 packages to the project.json file and eliminate packages.config.

This change also adds "frameworks" to the project.json so that dnu restore can calculate
applicable assets.  I am not yet using "runtimes" in the project.json since we are still resolving
our runtime assets manually (eg: build tools copies known files from packages).  A future
change will move us to using our runtime packages and add runtimes sections to projects
as appropriate.


Commit migrated from https://github.com/dotnet/corefx/commit/eb35a304c7e89e8b4335ed13c5d23706360d49a4
2015-05-05 12:36:57 -07:00
Stephen Toub 3ff8e28465 Update UnsupportedPlatforms in project files
Most test projects should now successfully run on both Linux and OSX.  Updated the csproj files to indicate the few places that's not the case.  Microsoft.Win32.Registry and System.ServiceProcess.ServiceController are both Windows-only, and System.IO.FileSystem.DriveInfo currently lacks an OSX-based implementation.


Commit migrated from https://github.com/dotnet/corefx/commit/d60a1a09a6588d38aa6e355517da51d6dfd544eb
2015-04-28 22:10:31 -04:00
Lakshmi Priya Sekar aa951a667e Remove testcategories from csproj, in relation to the recent changes in buildtools.
Commit migrated from https://github.com/dotnet/corefx/commit/30b9b8d87605f17dbb94ccf7785da1fde8f11329
2015-04-21 16:36:05 -07:00
Eric StJohn c0e430ddf5 Update to latest CoreFx packages, convert to project.json
This change updates all projects to the latest CoreFx packages which make use of nuget v3 features and thus require project.json.  Packages.config remains for the packages which are not yet compatible with the new build task (mainly because we need to resolve to PCL folders).
The entire change was done by a tool in order to not miss any dependencies, and ensure we have project items for the packages.config/project.json.  One side effect of using the tool is some reformatting of whitespace in the projects.


Commit migrated from https://github.com/dotnet/corefx/commit/e729c5353070b71aedff8f1300ae838573813faf
2015-04-15 12:47:43 -07:00
Stephen Toub ad4f8abab4 Add DriveInfo tests for Unix
All of the existing DriveInfo tests were Windows-specific.  This commit annotates them as such, and adds some additional tests to cover the Unix implementation(s).


Commit migrated from https://github.com/dotnet/corefx/commit/6e7fbbedc90fb0466742cb00b566f338e514ab5e
2015-04-03 15:11:04 -04:00
Lakshmi Priya Sekar 6aacde38c3 Rewrite DriveInfo tests. Respond to CR feedback.
Commit migrated from https://github.com/dotnet/corefx/commit/7ddc3df71fd7341f0e536c237bb2f7b5a77dda1e
2015-03-09 18:11:26 -07:00
Maxwe11 2d635dae1c Replace relative path to common tests with a variable
Replace relative path "..\..\Common\tests" with $(CommonTestPath) variable.


Commit migrated from https://github.com/dotnet/corefx/commit/56dbc6abc6dcde5874c99c67f379d788c8dd4420
2015-02-08 15:05:37 +02:00
Wes Haggard 8b20be1d87 Disable running DriveInfo tests until they are cleaned up.
Disable running tests for this project as many of them are failing randomly for
different reasons, including but not limited to requiring admin to set/reset drive
labels, doing exact total disk space comparisions while other disk IO on the system
may be changing it actively, and failing on subst drives, etc
There are various github issues covering some of these see:
https://github.com/dotnet/corefx/issues/514
https://github.com/dotnet/corefx/issues/528
https://github.com/dotnet/corefx/issues/549
https://github.com/dotnet/corefx/issues/564
https://github.com/dotnet/corefx/issues/592


Commit migrated from https://github.com/dotnet/corefx/commit/53d48016ec664c16a0ec00f4c91e47179e17bf3b
2015-02-04 00:13:04 -08:00
Nick Guerrera 050dcd1ea0 Disable racing test against issue dotnet/corefx#514
Commit migrated from https://github.com/dotnet/corefx/commit/c437871dda22b1422b3589ca4e8fbc1d389f52f6
2015-01-23 15:47:16 -08:00
dotnet-bot d414e9f390 Initial commit System.IO.FileSystem.DriveInfo
Commit migrated from https://github.com/dotnet/corefx/commit/86f6a8ff589cd7f0fbb0237ef7de97bd92046d7b
2015-01-19 15:02:49 -08:00