Tom Deseyn
5fd3ed8fb6
Reconfigure terminal for Console usage even if only one of stdin/stdout was used by the child ( dotnet/corefx#40563 )
...
* Process: Unix: ensure we reconfigure the terminal for Console usage if only one of stdin/stdout was used by the child.
Console: Unix: Fix cache check for VTIME (read timeout).
Fixes https://github.com/dotnet/corefx/issues/40557
* Also consider not redirecting stderr as terminal usage
Commit migrated from https://github.com/dotnet/corefx/commit/4b35a6fe24aed9ba44ef2534bd32b7a1e0bb7841
2019-08-27 15:17:09 -04:00
Stephen Toub
4fc5d8971d
Contribute to IDE0055 (fix formatting)
...
Commit migrated from https://github.com/dotnet/corefx/commit/b49a8a9be1d53cd9e50cb68fd8540be25c65d433
2019-08-24 07:47:35 -04:00
Stephen Toub
7bdae2162f
Contribute to StyleCop SA1002 (semicolon spacing)
...
However, I'm not enabling the rule permanently, as it disagrees with VS IDE0055 about the spacing around semicolons at the end of empty while and for loops.
Because this also impacts `for (;;)` loops, I also searched and replaced those with `while (true)`, to standardize on that across the codebase.
Commit migrated from https://github.com/dotnet/corefx/commit/93285e4511a9656a30b92b8b6a9088608aac40e0
2019-08-24 07:47:35 -04:00
Stephen Toub
9885a60658
Fix IDE0066 across corefx ( dotnet/corefx#40288 )
...
* Fix IDE0066 across corefx
"Fix all", but then manual tweaking to accommodate places the rule doesn't work quite right.
* Address PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/f71a5a1d88214a9e2c26ff2ff8bcfb1017aa6713
2019-08-16 11:24:54 -04:00
Stephen Toub
9548bea38a
Make many fields readonly or const across corefx ( dotnet/corefx#40298 )
...
* Make many fields readonly or const
* Address PR feedback
- Updated asn.xslt
- Regenerated .xml.cs files
Commit migrated from https://github.com/dotnet/corefx/commit/0cc22ccba707d7552159363d586262fa9c4e8a2a
2019-08-14 14:19:30 -04:00
Stephen Toub
6a988c7d03
Enable StyleCop rules 1205, 1411, 1026, and 1000 ( dotnet/corefx#40254 )
...
* Fix StyleCop warning SA1411 (attribute ctor shouldn't use unnecessary parens)
* Fix StyleCop warning SA1026 (new[] spacing)
* Fix StyleCop warning SA1000 (consistent spacing around if, for, switch, etc.)
* Fix StyleCop warning SA1205 (partial elements should declare an access modifier)
Commit migrated from https://github.com/dotnet/corefx/commit/0c4c234a918254d569ffb0f6a607f98193608646
2019-08-12 22:45:34 +02:00
Stephen Toub
2a47457139
Make several local functions static ( dotnet/corefx#40251 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/d3155017e1fe6acdb72e2d1b30c5b2e36cf21af8
2019-08-12 15:08:18 -04:00
Stephen Toub
182e23d123
Re-enable StyleCop warning SA1400 (elements should specify access) ( dotnet/corefx#40240 )
...
One of the more common things we "nit" in PRs. Now the compiler will flag it for us.
Commit migrated from https://github.com/dotnet/corefx/commit/61a6264018989e06d314b68d57bd91b4b72e4360
2019-08-12 14:29:19 +02:00
Stephen Toub
60d1224ddd
Re-enable StyleCop warnings SA1028 and SA1518 (trailing whitespace and blank lines) ( dotnet/corefx#40113 )
...
Mechanical/automated change. The only manual changes were a) removing the two rules from the CodeAnalysis.ruleset file, b) removing spaces from one line of a .targets file that is used to generate a .cs file, and c) reverting the changes in a few test files where the naive replacement happened in the middle of a verbatim string where the whitespace actually mattered.
Commit migrated from https://github.com/dotnet/corefx/commit/09a6e66b0c2b31bd0f6e7e3170537d14027aeed0
2019-08-07 21:07:58 -04:00
Krzysztof Wicher
e2851f41eb
Update Process.OSX.cs ( dotnet/corefx#40080 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/0cb3c130f2768ea97c0ce74dbb9d45537f77466d
2019-08-06 15:52:40 -07:00
Christopher Watford
96d58de858
Use deterministic Process.StartTime for OS X dotnet/corefx#39434 ( dotnet/corefx#39572 )
...
* Use pbi_start for StartTime on OS X fixes dotnet/corefx#39434
* Add test to ensure StartTime remains stable
* Reduce delay in test based on feedback
- Use the correct Assert.Equal too.
* Ensure StartTime is in Local Time
* Remove unnecessary test and reenable other test for OS X
* Remove unused OS X interop methods
- SystemNative_GetAbsoluteTime
- SystemNative_GetTimebaseInfo
* Remove cmake entries for unused HAVE_MACH_TIMEBASE_INFO
* Address review comment regarding constants
Commit migrated from https://github.com/dotnet/corefx/commit/b3686977e17f885fdfbcfbc2906d32f9678a8726
2019-08-06 17:59:44 -04:00
Stephen Toub
0d8a87d1dd
Enable stylecop warnings 1205, 1212, and 1617 ( dotnet/corefx#39941 )
...
* Enable stylecop warning 1617 (void return value should not be documented)
* Enable stylecop warning 1212 (get/set accessor ordering)
* Enable stylecop warning 1205 (modifier ordering)
Commit migrated from https://github.com/dotnet/corefx/commit/6074cfc995d7968fcdbc7f707acff0c6284c6ae9
2019-08-01 18:00:12 -04:00
Stephen Toub
6e335aa872
Enable several StyleCopAnalyzers ( dotnet/corefx#39921 )
...
* Fix ordering of keywords in member signatures
* Add StyeCop.Analyzers
Most rules are disabled. Many of them we'll want to leave disabled, however there are a handful it'll be good to enable over time.
* Use built-in type alias
* Fix straggling stylecop warnings in all configurations
* Replace tabs with spaces
Commit migrated from https://github.com/dotnet/corefx/commit/a12c557a72988070b8624cc7ecc46899629895c4
2019-07-31 19:10:59 -04:00
Stephen Toub
3364838e1e
Re-enable CA1823 (unused private fields) ( dotnet/corefx#39899 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/e5d38a54cf21f6427ae4fe99c3841c8067139e75
2019-07-31 08:04:33 -04:00
Ganbarukamo41
9be9c570be
Enable analyzer for xUnit2000 (Constants and literals should be the expected argument) ( dotnet/corefx#39842 )
...
* Enable xUnit2000 analyzer
This commit enables xUnit2000 (Constants and literals should be the expected argument) and apply fixes for the existing violating codes.
* a Massive commit fixing xUnit2000
* fixing some 2003 errors
* Fix mistakes
* Fix missed errors for unix
Commit migrated from https://github.com/dotnet/corefx/commit/93d7aa1c1737b6da29d04b78557215e18eb786d4
2019-07-28 15:47:52 -07:00
Stephen Toub
1e241a533f
Re-enable CA2200 (rethrowing exceptions in catch blocks) ( dotnet/corefx#39700 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/7b142543ce066ba684303837c2e9723b9e140d39
2019-07-24 07:33:20 -04:00
Stephen Toub
e562a8f624
Upgrade Roslyn analyzers ( dotnet/corefx#39703 )
...
* Upgrade analyzer versions
We were years behind.
* Fix nameof warnings in System.ComponentModel.Annotations
* Disable all rules with failures
* Enable CA2007 (ConfigureAwait)
* Enable CA5373, 5379, 5384, and 5385 (weak crypto)
* Remove stale nuget analyzer packages consumed into main package
* Enable CA2002
Commit migrated from https://github.com/dotnet/corefx/commit/0f1fa092672a344b92c4bc440f3ab6232614a7f4
2019-07-23 23:10:17 -04:00
Stephen Toub
47f8f6d47d
Re-enable xunit warning 2003 ( dotnet/corefx#39696 )
...
* Replace "Assert.Equal(null, " with "Assert.Null("
* Replace "Assert.NotEqual(null, " with "Assert.NotNull("
* Replace "Assert.Same(null, " with "Assert.Null("
* Replace "Assert.StrictEqual(null, " with "Assert.Null("
Commit migrated from https://github.com/dotnet/corefx/commit/6de660a02e335eefebfcc3c81ecb0013e2a8148e
2019-07-23 15:49:33 -04:00
Jan Kotas
5e19f883ba
Fix System.Diagnostics.Process failures with disabled Remote Registry service ( dotnet/corefx#39215 )
...
* Fix System.Diagnostics.Process failures with disabled Remote Registry service
* Make the test more similar to other tests that depend on performance counters
Commit migrated from https://github.com/dotnet/corefx/commit/da2cf2d7e6976b13cbc24eb9ae7d98b630dd3be3
2019-07-06 16:46:32 -04:00
Viktor Hofer
ef7a0e676a
Enable XUnit Analyzers ( dotnet/corefx#38676 )
...
* Enable XUnit Analyzers
Commit migrated from https://github.com/dotnet/corefx/commit/b8a7f34e1b64e5c594f591aa8683f34506eb9736
2019-07-05 22:50:57 +02:00
Viktor Hofer
0f67ef28f8
Make CoreFx.Private.TestUtilites RID-agnostic ( dotnet/corefx#36207 )
...
* Make CoreFx.Private.TestUtilites RID-agnostic
* Add version checks for other distros
https://github.com/dotnet/corefx/commit/dotnet/corefx@4f0d10773ccbb4849b869b6a0a73d5938f1804bd
Porting fix over into PlatformDetection.
* Build test lib in advance for VS support
* Disable pretest in AllConfigurations
Commit migrated from https://github.com/dotnet/corefx/commit/d3d144fad9b600a0fc1ca6fc7d65c247fddd9f04
2019-06-29 21:53:19 +02:00
Stephen Toub
0a699fb3c8
Change CreateProcessLong test helper to use 5m rather than 30s sleep ( dotnet/corefx#39002 )
...
The ProcessTestBase.CreateProcessLong helper function is used in situations where we effectively want an infinitely running process, which we then terminate when the test creating it completes. But we also don't want the process to live in forever if something goes wrong with killing it, such as if the parent hangs or is itself terminated. So we instead have it sleep for a "long" period of time, currently 30s. However, in stress runs, that may not be long enough. This bumps it to 5m.
Commit migrated from https://github.com/dotnet/corefx/commit/1ef14e50f9449544e38091ccb0930bb3d5b97f07
2019-06-27 19:27:58 -04:00
William Godbe
0a53729e34
Disable failing Process test ( dotnet/corefx#38885 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/e4d34071b2049268283676152a61d1ed2cd52879
2019-06-25 12:00:44 -07:00
Levi Broderick
7d1f822abd
Remove Serialization Guard public APIs ( dotnet/corefx#38739 )
...
* Remove Serialization Guard public APIs
- Also refactors reflection helpers into separate file
* PR feedback - remove DeserializationBlockedException refs entirely
Commit migrated from https://github.com/dotnet/corefx/commit/8b73a6dfacccefa8d160077ebff11007ff72fda3
2019-06-22 19:48:00 -07:00
Viktor Hofer
5f98ba6a2b
Enable project restore for test projects ( dotnet/corefx#38151 )
...
* Factor out repo restore into seperate props/targets
* Use configuration system msbuild sdk
* Remove XUnit.Runtime.depproj
* Remove TargetGroup usages in test projects
* Fix ILLink configuration
The ILLink package contains netcoreapp2.0 assets which are compatible
with netstandard2.0. Removing the old TargetFramework to restore
successfully.
* Remove usages from TargetGroup in Directory.Build.props
* Remove dead net4* configurations
* Change tests.builds to tests.proj sdk proj
* Make externals dir proj an sdk project
* Consume Microsoft.DotNet.CoreFxTesting as an msbuild sdk
* Use runtimeconfig.template.json
* Remove SupplementalTestData
* Map shared framework version to product version
* Stop binplacing tests
* Move some tool depprojs to targets during restore
* Remove dead code
* Use PackageReference instead of RefFromRuntime in test
* Disable using an apphost
* Copy compression testdata manually cause unicode bug
* Remove target batching in optimizationData
* Reference packaging tools from CoreFx.Private.TestUtilities
Commit migrated from https://github.com/dotnet/corefx/commit/c4c1985531cc1f25c805bbc4801b85c98e0dfee0
2019-06-15 21:27:13 +02:00
Viktor Hofer
a5d5b91672
Delete dead uapaot code ( dotnet/corefx#38330 )
...
* Delete dead uapaot code
Commit migrated from https://github.com/dotnet/corefx/commit/8c2be7893fa585cba9c094c27b69d7c8e0822ef3
2019-06-14 15:12:42 +02:00
Tom Deseyn
8bd8aa0d49
ProcessNameMatchesScriptName: add missing Fact attribute ( dotnet/corefx#38251 )
...
* ProcessNameMatchesScriptName: add missing Fact attribute
* Skip test on RHEL6
Commit migrated from https://github.com/dotnet/corefx/commit/de1da50fc5f972348aba2fa40ff14e1cbadb13de
2019-06-06 23:16:12 -04:00
Stephen Toub
0678c26d70
Add missing PlatformSpecific attribute to ProcessStart_OnLinux_UsesSpecifiedProgram test ( dotnet/corefx#38228 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/88c5a3e317dd2edadc95adedc764c1acad5e3541
2019-06-04 18:15:59 -04:00
Tom Deseyn
4d115ab514
ProcessStart_OpenFileOnLinux_UsesSpecifiedProgram: avoid early exit issues by using 'sleep' instead of 'vi' ( dotnet/corefx#38158 )
...
* ProcessStart_OpenFileOnLinux_UsesSpecifiedProgram: avoid early exit issues by using 'sleep' instead of 'vi'
Fixes https://github.com/dotnet/corefx/issues/38114
* PR feedback
* Match sleep time with RemoteExecutor.FailWaitTimeoutMilliseconds
* Move Assert out of finally block to keep exception
Commit migrated from https://github.com/dotnet/corefx/commit/6efdb0fc21c5eb559657a85a62a14d0907f6eff4
2019-06-04 12:25:45 -04:00
Tom Deseyn
c60ec62169
ProcessNameMatchesScriptName: add some asserts for debugging ( dotnet/corefx#38175 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/b6c814e0d0da3b3251b518f2d9445174e4fc1979
2019-06-03 23:25:07 -04:00
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
4606120376
Enable rolling builds and add arm64 in outerloop ( dotnet/corefx#37728 )
...
* Enable rolling builds and add arm64 in outerloop
* Disable tests on official builds
* Allow Outerloop to run aggregated
* Disable failing RH6 test
Commit migrated from https://github.com/dotnet/corefx/commit/9643d42eb34e9eadfcfea51379812d185dc4fc7c
2019-05-17 19:32:20 +02:00
Gergely Kalapos
136965646b
Fix minor typo NanoSeconds -> nanoseconds ( dotnet/corefx#37732 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/ef25246c7ea01a96cda8a464b4b717213e8d9685
2019-05-16 17:32:40 -07:00
Tom Deseyn
1956f58031
Linux: ProcessName: return script name instead of interpreter program ( dotnet/corefx#37294 )
...
* Linux: ProcessName: return script name instead of interpreter program
Fixes https://github.com/dotnet/corefx/issues/37198
Regression by https://github.com/dotnet/corefx/pull/37144
* Add ProcessNameMatchesScriptName test
* ProcessNameMatchesScriptName: don't run on OSX
* LongProcessNamesAreSupported: don't run on Alpine
* Remove ActiveIssue attributes
Commit migrated from https://github.com/dotnet/corefx/commit/1b6f45ca261467baea62ef577f8b8a7c6cf3b96c
2019-05-16 10:30:06 -07:00
dotnet-maestro[bot]
11708b075e
[master] Update dependencies from dotnet/arcade ( dotnet/corefx#37512 )
...
* Update dependencies from https://github.com/dotnet/arcade build 20190507.7
- Microsoft.DotNet.XUnitExtensions - 2.4.0-beta.19257.7
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19257.7
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19257.7
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19257.7
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19257.7
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19257.7
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19257.7
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19257.7
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19257.7
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19257.7
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19257.7
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19257.7
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19257.7
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19257.7
* Update dependencies from https://github.com/dotnet/arcade build 20190508.5
- Microsoft.DotNet.XUnitExtensions - 2.4.0-beta.19258.5
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19258.5
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19258.5
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19258.5
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19258.5
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19258.5
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19258.5
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19258.5
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19258.5
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19258.5
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19258.5
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19258.5
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19258.5
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19258.5
* Update dependencies from https://github.com/dotnet/arcade build 20190509.9
- Microsoft.DotNet.XUnitExtensions - 2.4.0-beta.19259.9
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19259.9
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19259.9
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19259.9
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19259.9
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19259.9
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19259.9
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19259.9
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19259.9
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19259.9
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19259.9
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19259.9
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19259.9
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19259.9
* Update dependencies from https://github.com/dotnet/arcade build 20190510.2
- Microsoft.DotNet.XUnitExtensions - 2.4.0-beta.19260.2
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19260.2
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19260.2
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19260.2
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19260.2
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19260.2
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19260.2
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19260.2
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19260.2
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19260.2
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19260.2
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19260.2
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19260.2
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19260.2
* Update dependencies from https://github.com/dotnet/arcade build 20190511.1
- Microsoft.DotNet.XUnitExtensions - 2.4.0-beta.19261.1
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19261.1
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19261.1
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19261.1
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19261.1
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19261.1
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19261.1
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19261.1
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19261.1
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19261.1
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19261.1
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19261.1
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19261.1
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19261.1
* Use RemoteExecutor NS version
* Update dependencies from https://github.com/dotnet/arcade build 20190512.1
- Microsoft.DotNet.XUnitExtensions - 2.4.0-beta.19262.1
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19262.1
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19262.1
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19262.1
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19262.1
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19262.1
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19262.1
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19262.1
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19262.1
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19262.1
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19262.1
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19262.1
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19262.1
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19262.1
* Update dependencies from https://github.com/dotnet/arcade build 20190513.3
- Microsoft.DotNet.XUnitExtensions - 2.4.0-beta.19263.3
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19263.3
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19263.3
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19263.3
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19263.3
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19263.3
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19263.3
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19263.3
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19263.3
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19263.3
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19263.3
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19263.3
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19263.3
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19263.3
* Exclude compile assets for RemoteExecutor
* Manual darc update from build '20190514.12'
* Fix Unix restore of RemoteExecutor
* Exclude assets for RemoteExecutor correctly
* Downgrade compiler version
* Fix remoteexecutor lib binplacing for uap/uapaot
* Add RemoteExecutorHost tfms in test
* Fix process name check test on netfx
Commit migrated from https://github.com/dotnet/corefx/commit/5a91f2a23f463900457e496c4e7d59494b3a3740
2019-05-15 09:22:16 -07:00
Gergely Kalapos
ace0212fed
Fix System.Diagnostics.Process.[x]ProcessorTime on macOS ( dotnet/corefx#37637 )
...
* Fix System.Diagnostics.Process xProcessorTime props and add test
The ri_user_time unit is nanoseconds, but the TimeSpan .ctor expects values with a 100-nanosecond unit.
* Update src/System.Diagnostics.Process/tests/ProcessTests.cs
* Update src/System.Diagnostics.Process/tests/ProcessTests.cs
* Update src/System.Diagnostics.Process/tests/ProcessTests.cs
* Update src/System.Diagnostics.Process/tests/ProcessTests.cs
* Add ActiveIssue to TotalProcessorTime_PerformLoop_TotalProcessorTimeValid
* Address PR feedback
* Fix typo - NanoSeconds -> Nanoseconds
Commit migrated from https://github.com/dotnet/corefx/commit/a28176b5ec68b6da1472934fe9493790d1665cae
2019-05-14 20:08:15 -07:00
dotnet-maestro[bot]
1030e61c68
[master] Update dependencies from dotnet/coreclr ( dotnet/corefx#37514 )
...
* Update dependencies from https://github.com/dotnet/coreclr build 20190507.72
- Microsoft.NET.Sdk.IL - 3.0.0-preview6-27707-72
- Microsoft.NETCore.ILAsm - 3.0.0-preview6-27707-72
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-preview6-27707-72
* Update Microsoft.DotNet.XUnitConsoleRunner
We need the fix which removes STAThread from the main routine of
xunit.console.
* Clean up the baseline for DiagnosticCounter
* Update test baseline.
Commit migrated from https://github.com/dotnet/corefx/commit/5640cde41c872e03e6a8a751fac5092e3c68b2c6
2019-05-09 07:03:22 -04:00
Stephen Toub
0ee10a338f
Fix TestPriorityLevelProperty test ( dotnet/corefx#37377 )
...
* Fix TestPriorityLevelProperty test
If the target thread goes away between the time we grab it and try to manipulate it, the test fails. Instead, just create a thread in the current process, as we can then target that one directly and ensure it's always in a good state for testing against.
* Address PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/dd368445da30401b9dd2290a9612fccf617063b9
2019-05-02 20:29:58 -04:00
Santiago Fernandez Madero
67e7af96a6
Nop LongProcessNamesAreSupported test on Alpine ( dotnet/corefx#37350 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/3728c9618debe640c22d7469fe4aa937f4a774b7
2019-05-02 08:28:49 +02:00
Stephen Toub
e71767ffb2
Enable HTTP/2 in SocketsHttpHandler via HttpRequestMessage.Version ( dotnet/corefx#37234 )
...
We now respect the version: if it's 1.1, we use 1.1, and if it's 2.0, we try to use HTTP/2. At the same time, the default for HttpRequestMessage.Version goes back to 1.1, so to use HTTP/2, you opt-in by setting the version explicitly to 2.0.
Commit migrated from https://github.com/dotnet/corefx/commit/d69d441dfb0710c2a34155c7c4745db357b14c96
2019-05-02 00:15:28 -04:00
Stephen Toub
a5ff8bcdb9
Make ProcessTests.HandleCountChanges more reliable ( dotnet/corefx#37330 )
...
* Make ProcessTests.HandleCountChanges more reliable
* Address PR feedback
* Update CoreFx.Private.TestUtilities.csproj
Commit migrated from https://github.com/dotnet/corefx/commit/d398edffd620fd3e4136963faedfea3a9a8e66b0
2019-05-01 21:49:37 -04:00
Viktor Hofer
3c80118cf0
Publish test artifacts to AzDO ( dotnet/corefx#37296 )
...
* Publish test artifacts to AzDO
* Disable two flaky UAP tests
* Remove leftover buildconfiguration for netfx
* Disable flaky printer test
* Disable flaky PipeWriter test
Commit migrated from https://github.com/dotnet/corefx/commit/75a54c95e2d31370bf8b5024a5b68b3e83cefb2e
2019-05-01 23:48:48 +02:00
Stephen Toub
38d0895075
Disable failing Process name test ( dotnet/corefx#37283 )
...
https://github.com/dotnet/corefx/issues/37198
Regression caused by https://github.com/dotnet/corefx/pull/37144
Commit migrated from https://github.com/dotnet/corefx/commit/a26fd9bb1b17510d51a9b5a2ce7aadc1a5b631ee
2019-04-29 18:28:34 -04:00
Tom Deseyn
3561d2f6f2
Linux: determine ProcessName using /proc cmdline to avoid truncated names ( dotnet/corefx#37144 )
...
* Linux: determine ProcessName using /proc cmdline to avoid truncated names
* PR feedback
* LongProcessNamesAreSupported test: ensure Process gets killed when Assert throws
Commit migrated from https://github.com/dotnet/corefx/commit/4214b09864bea0416f17727ffa39a55d950035d1
2019-04-25 11:36:22 -04:00
Jan Kotas
836b524726
Fix CPINFOEXW definition ( dotnet/corefx#37131 )
...
* Fix CPINFOEXW definition
* Unify MAX_PATH definition and switch to use it for GetCPInfoEx
Commit migrated from https://github.com/dotnet/corefx/commit/24efeca2cb7e8a83125ecdbc62c95040fddabdf2
2019-04-24 11:46:42 -04:00
Tanner Gooding
5a5ed7652a
Regenerating reference sources in order to reorder enum fields ( dotnet/corefx#37045 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/17382def0f680653870c31af1acf086ac41dcc0b
2019-04-23 13:40:45 -07:00
Stephen Toub
69722abed0
Revert "Squash fix for process name. ( dotnet/corefx#36913 )" ( dotnet/corefx#37113 )
...
This reverts commit dotnet/corefx@8b515adcd4 .
Commit migrated from https://github.com/dotnet/corefx/commit/9b71f88a2a02bba67c5eb8764b4770535a8e904a
2019-04-23 07:47:02 -04:00
Peter Stevenson
6e1b20e1cf
Squash fix for process name. ( dotnet/corefx#36913 )
...
Handle long process names on Linux
See: https://github.com/2E0PGS/corefx/commit/dotnet/corefx@56e73858adb046b57165eae44af111d64e2fcd98
* add test
* update test
* update test
* address PR feedback
* fix alpine ci
* fix compilation
* add some log for alpine fail
* address PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/8b515adcd4ea0b8233f018f9e87ef946ce0e7c42
2019-04-20 08:40:41 -07:00
Hugh Bellamy
e07a068d78
Fix LsaOpenPolicy interop definition
...
* Move Lsa handles to Interop code
* Fix implementation of LsaOpenPolicy
* Move LSA_STRING and LSA_UNICODE_STRING to Advapi32
* Consolidate LSA_UNICODE_STRING and UNICODE_STRING
Commit migrated from https://github.com/dotnet/corefx/commit/f5e2679e76c102aea8218ae290ffb7f4d97e9cc2
2019-04-13 09:52:14 -07:00
Morgan Brown
e15e93f378
Implement Serialization Guard - CoreFX portion
...
Consume Serialization Guard API in BinaryFormatter and Process.
Also includes Serialization Guard's tests.
Commit migrated from https://github.com/dotnet/corefx/commit/6ca16758a5d454c1f1b04975bf55f259dd71fc49
2019-04-08 10:53:37 -07:00