Commit Graph
19 Commits
Author SHA1 Message Date
Eric St. John f23c4cfc5d Update project configurations
Commit migrated from https://github.com/dotnet/corefx/commit/d4e7a1d43b74b8e16f0fe3dc0c69965dff679c42
2017-04-24 15:50:22 -07:00
Wes Haggard f2fd0ea78a Update Solution files to use windows path slashes.
Commit migrated from https://github.com/dotnet/corefx/commit/f8ba7c412d06d8e4d4e6278502d4dd771a0f10bb
2017-02-03 16:31:48 -08:00
Eric St. John c2dc83e56a Sync BuildConfiguration with project PropertyGroups
Commit migrated from https://github.com/dotnet/corefx/commit/758a0e16e8c5af8741d14043f4bef1d15a79a377
2017-02-03 08:34:24 -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
Wes Haggard c4e17cd362 Update all solution files using solution generation tool
Commit migrated from https://github.com/dotnet/corefx/commit/a822a266821cf79df96cdd77d2a3d44f1510d9a0
2017-02-02 15:44:45 -08:00
Jose Perez Rodriguez f9d4e6795d Removing netstandard configurations for things that are bellow netstandard (dotnet/corefx#15373)
Removing netstandard configurations for things that are bellow netstandard

Commit migrated from https://github.com/dotnet/corefx/commit/c656446f01db4b902b0c06b19551cc30d9dd9c6b
2017-01-24 09:40:19 -08:00
Karthik Rajasekaran 4bbdadd88a Update project configuration and sln files (dotnet/corefx#15182)
* Add ValidateVSConfigurations

* Update project config and sln files.


Commit migrated from https://github.com/dotnet/corefx/commit/f6ab339f446e37505f93ef9f430801fa1dcc05b8
2017-01-17 14:31:23 -08:00
Deepak Shankargouda fb583e4f16 Moving Perf tests to their own csprojs (dotnet/corefx#10192)
Commit migrated from https://github.com/dotnet/corefx/commit/c912d26b0a848477db0362ab4e00bb0e71e0273a
2016-07-20 18:38:03 -07:00
Eric St. John 40d1b47400 Support MemoryMappedFiles on UWP
The only thing preventing us from supporting this was switching to use
some UWP-specific win32 functions for memory mapped files.  This adds a
target for netcore50 to cross compile and use the *FromApp variants of
those win32 APIs.

I had to exclude a call to GlobalMemoryStatusEx because that was not
available, but the only purpose of that call was to get a better error
message.


Commit migrated from https://github.com/dotnet/corefx/commit/68949506e38203500c768fd2debbff73c0304b26
2016-04-28 14:34:03 -07:00
Petr Onderka 8b17d99b89 removed invalid nested projects section
partially fixes dotnet/corefx#7040


Commit migrated from https://github.com/dotnet/corefx/commit/ebd3738eca9f97dae2406e14b255fb106bd1ef9e
2016-03-18 21:55:48 +01:00
Christopher Costa aab016344e Fat package conversions
Commit migrated from https://github.com/dotnet/corefx/commit/be08afd9701053f5f9369762db58b87c8ca9559f
2016-03-10 16:15:19 -08:00
stephentoub 29a8dba1c4 Disable several failing tests on OS X
One new sockets test is still failing.

And a handful of IO tests related to read-only files just recently started failing, presumably due to some kind of OS-related upgrade.


Commit migrated from https://github.com/dotnet/corefx/commit/f2199be65eb6b8020deb0a348923875020b8435a
2015-11-26 08:34:53 -05:00
stephentoub 431156322b Rewrite the MemoryMappedFiles tests
The old System.IO.MemoryMappedFiles tests had decent coverage, but were lacking in a variety of ways:
- They were written in a legacy style that didn't take advantage of xunit capabilities, that made them difficult to augment, and that made them difficult to understand
- They were spread out across several projects in a seemingly haphazard manner.
- They left behind lots of temporary files
- They caused random test failures due to conflicting map names and file names.
- Their code coverage could have been a bit better, and they were missing coverage of some corner cases

This commit completely rewrites the tests, covering all of the old scenarios tested and more while removing 2/3rds of the code, increasing code coverage, avoiding race conditions on map and file names, cleaning up temporary files used, switching to using xunit features, and hopefully making the tests more understandable and augmentable in the future.


Commit migrated from https://github.com/dotnet/corefx/commit/803180f35b82bd1cc22f0bd6b30fe54b1d171c76
2015-07-13 14:59:44 -04: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 St. John bd39bdd5d3 Projects sharing a single directory clash on project.lock.json
Refactoring a few projects into separate directories to avoid file handle contention writing project.lock.json on restore.

[tfs-changeset: 1454786]


Commit migrated from https://github.com/dotnet/corefx/commit/fb993a4786db6e0e431c16c50fc80bf35bbcb21e
2015-04-16 22:19:08 -07:00
Stephen Toub 1f18105c92 Fix System.IO.MemoryMapped* tests for cross-platform
A bunch of the MMF tests were using PlatformNotSupported functionality, but didn't need to be doing so, e.g. a bunch of tests were specifying map names even when naming wasn't what was being tested, causing those tests to fail on Unix where we don't currently support named maps.  This commit fixes up all such issues, along with other issues, like using platform-specific functionality such as P/Invokes to Win32 functions.

I also fixed a few general issues I happened to notice, such as places where temporary files weren't being cleaned up (on both Unix and Windows).


Commit migrated from https://github.com/dotnet/corefx/commit/1e5a69b6022660437983bb8f2cdf9bb1075ae363
2015-04-03 15:33:32 -04:00
Maxwe11 cd56155ae2 Rename all test assemblies to include a library prefix
Fixes dotnet/corefx#744


Commit migrated from https://github.com/dotnet/corefx/commit/18891cc866a2c3fdae17e6518031ed1f26108db0
2015-03-26 20:17:48 +02:00
Matt Ellis 53a9f1fe9a Refactor build properties for Linux and OSX builds
Previously, we used the catch all OS=Unix property in MSBuild to
determine if we were building for Windows vs Unix, and we shared the
same MSIL between Linux and OSX.  However, we have already started to
take dependencies on Linux specific APIs and we plan on using OSX
specific APIs very soon.

We don't want to try to ship MSIL that contains both Linux and OSX
specific implementations of a feature, so the build system needs to
change a little.

We'll continue to use the OS property as the entry point for the build
to specificy what platform you want to build for.  However, we now have
three platforms:

1. Windows_NT
2. Linux
3. OSX

However, the value of the OS property should not be tested directly,
instead we introduce properties about the target platform itself:

1. TargetsWindows
2. TargetsUnix
3. TargetsLinux
4. TargetsOSX

Code which works the same across Linux and OSX should be guarded by
TargetsUnix (which is true when OS is either 'Linux' or 'OSX').  Code
specific to one OS can be guarded with either TargetsLinux or
TargetsUnix.

In this change, I have simply rewritten all the '$(OS)' == 'Unix'
conditions to '$(TargetsUnix)' == 'true'.  A few libraries may do Linux
specific stuff, but we will clean up that debt when we go to flesh out
the OSX implementations.


Commit migrated from https://github.com/dotnet/corefx/commit/4d07173fbf86631d49ed56623581eff9cb7d3f87
2015-03-19 14:07:07 -07:00
Maxwe11 6a98eb9ef5 Move *.sln files to the appropriate projects folders
Commit migrated from https://github.com/dotnet/corefx/commit/fb8fb441b3e5414590b8d1af4ec5f52ca52c0dff
2015-02-20 19:52:00 +02:00