summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2019-08-07Ensure that we check for implicit ivals for single argument intrinsics ↵Tanner Gooding12-0/+4455
before the SIMDScalar handling. (#25905) (#25987) * Ensure that we check for implicit ivals for single argument intrinsics before the SIMDScalar handling. * Adding test template entries for the unary overloads of the Sse41.Round functions * Regenerating the hardware intrinsic test templates.
2019-08-07Make counters use dedicated thread instead of timer (#25864) (#25978)Sung Yoon Whang1-8/+4
* Make a dedicated polling thread for EventCounters * Cleanup * remove debug prints * nit * Fix comment * addressing issues from code review * Fix an assertion from getting fired when we have multiple listeners * Fix a test issue * code review feedback * Fix a potential deadlock * Fix another deadlock * Allow s_sleepDurationInMilliseconds to be reset to a larger value * More issues fix * Let thread wake up from sleep if needed * Some suggestions for the counters fix. The resulting behavior should be the same as what is there now (assuming I didn't mess anything up), these are all just code simplifications that hopefully make it easier to review and maintain going forward. In total I think this reduces the change size in CounterGroup.cs by ~30%. - With the addition of the AutoResetEvent the ManualResetEvent is no longer needed, removed it. - Removed the various if foo != null checks for the shared state, it is all initialized once when then thread is created and then assumed to be non-null elsewhere. - Removed a 2nd lock acquisition inside OnTimer - Replaced an if with Math.Min in PollForValues * fix test
2019-07-28Do not fast tail call if caller has multislot structs (#25885) (#25910)Jarret Shook1-0/+224
* Do not fast tail call if caller has multislot structs * apply patch * Address offline feedback
2019-07-22[3.0 port] Fix first value of counter payload being skewed (#25799)Sung Yoon Whang2-0/+147
* Fix issue 25709 * rename * Fix regression test * cleanup * Code review feedback * set maxincrement to 3 * test fix
2019-07-17Temporarily make a default interface method test incompatible for GCStress ↵Koundinya Veluri2-0/+4
(#25747) Related to https://github.com/dotnet/coreclr/issues/25690 Port of https://github.com/dotnet/coreclr/pull/25746
2019-07-16Merge branch 'release/3.0' into merge/master-to-release/3.0William Godbe1-0/+6
2019-07-15Add EventPipe/DiagnosticsIpc tests (#25457)John Salem9-0/+582
* Add Microsoft.Diagnostics.Tools.RuntimeClient to dependencies.props * add EventPipe tests for provider coherence, buffer size resilience, and rundown event presence
2019-07-10refresh GC reliability tests (#25622)Vladimir Sadov4-10/+39
* refresh GC reliability tests * Update stress instructions (PR feedback)
2019-07-07Fixes spellingMatt Galbraith1-26/+26
2019-07-05[master] Update dependencies from dotnet/corefx (#25564)dotnet-maestro[bot]1-0/+3
- Microsoft.NETCore.Platforms - 3.0.0-preview8.19354.4 - Microsoft.Private.CoreFx.NETCoreApp - 4.6.0-preview8.19354.4 * Disable failing test
2019-07-05Re-enable Microsoft.VisualBasic tests (#25572)Sergiy Kuryata1-3/+0
2019-07-04Fix instantiation stub maker for case where no register is used by function ↵Fadi Hanna2-0/+157
parameters (#25558) * Fix instantiation stub maker for case where no register is used by function parameters
2019-07-03Enable coredumps on unix (#25551)Jarret Shook1-0/+4
* Enable coredumps on unix * Remove morph change
2019-07-03Add test for eventcounter (#25555)Sung Yoon Whang2-0/+192
2019-07-02Remove test method exclusions addressed in ↵Egor Chesakov1-4/+0
https://github.com/dotnet/corefx/pull/38856 (#25389)
2019-07-01test DisplayUnits/DisplayRateTimeScale properties (#25525)Sung Yoon Whang2-8/+50
2019-07-01Get rid of warnings while building tests (#25514)Michal Strehovský4-4/+5
2019-06-29Remove an old CoreFX exclusion file (#25500)Bruce Forstall3-42/+23
Plus, add comments to the new exclusion file
2019-06-29Re-enable corefx tests (#25490)Bruce Forstall1-69/+4
Re-enable corefx tests
2019-06-28Stop using reflection on pollingcounter tests (#25489)Sung Yoon Whang2-40/+10
2019-06-28Add windows arm32 native vararg excludes (#25429)Jarret Shook1-0/+151
* Add windows arm32 native vararg excludes * Fix typo
2019-06-28arm32_ci_script.sh: Fix tizen armel build (#25087)Konstantin Baladurin1-1/+1
2019-06-27Add test for IncrementingEventCounter (#25462)Sung Yoon Whang2-0/+168
* Add test for IncrementingEventCounter * Some cleanup * Remove unused using
2019-06-27removed unnecessary WriteLine form a test (#25460)Vladimir Sadov1-2/+1
2019-06-27Fix VersionBubbles test (#25392)Jan Vorlicek1-9/+10
The test was not crossgening with large version bubble enabled since the part of the .csproj that generates part of the .sh/.bat test running scripts was commented out. There were also bugs in the commented out code. Also, to ensure that it works, tiered compilation and jit minopts need to be disables to ensure that the test method won't be re-jitted.
2019-06-27Fix SIGSEGV in GC when dealing with large double[] on ARM32 (#25403)Vladimir Sadov2-0/+52
* Fix for #25252 * revert to special casing 8-alignement for double[] in GC helpers for x86
2019-06-26Hardcode LKG version of ucrtbased.dll (#25444)William Godbe1-1/+7
* Hardcode LKG version of ucrtbased.dll * Only use hardcoded UCRT version when search path fails * Add missing single-quotes
2019-06-26Hardcode LKG version of ucrtbased.dll (#25444)William Godbe1-1/+7
* Hardcode LKG version of ucrtbased.dll * Only use hardcoded UCRT version when search path fails * Add missing single-quotes
2019-06-26Merge branch 'release/3.0' into merge/master-to-release/3.0William Godbe1-0/+6
2019-06-26[master] Update dependencies from dotnet/corefx (#25425)dotnet-maestro[bot]1-4/+0
* Update dependencies from https://github.com/dotnet/corefx build 20190626.2 - Microsoft.Bcl.AsyncInterfaces - 1.0.0-preview7.19326.2 - Microsoft.NETCore.Platforms - 3.0.0-preview7.19326.2 - Microsoft.Private.CoreFx.NETCoreApp - 4.6.0-preview7.19326.2 * Reenable globalization tests
2019-06-25Expand corefx testing in coreclr repoBruce Forstall3-229/+128
Currently, corefx testing is done on Windows/x64. Expand testing to include: 1. Linux/x64, Linux/arm, Linux/arm64, Windows/x86 platforms. Windows/arm should be added after corefx official builds publish tests and test manifest. Windows/arm64 should be added after corefx tests are published, and we have sufficient hardware. 2. All JIT stress modes that are used in normal coreclr testing. Testing is split into 4 Azure DevOps Pipelines: coreclr-corefx, coreclr-corefx-jitstress, coreclr-corefx-jitstressregs, and coreclr-corefx-jitstress2-jitstressregs. In addition, we now use the corefx meta-package Microsoft.Private.CoreFx.OOB instead of a list of individual assemblies when constructing the testhost.
2019-06-25JitBench: Run PowerShell with an execution policy (#25259)Michal Strehovský1-1/+1
PowerShell is useless without this argument in default Windows configurations.
2019-06-24Throw platform unsupported error for windows arm32 varargs (#25320)Jarret Shook1-6/+0
* Throw unsupported platform for native vcarargs on Arm32 Windows * Re-enable baseservices vararg test
2019-06-24Updating Dragon4 to ensure the number buffer always provides a significant ↵Tanner Gooding1-7/+0
digit if one exists. (#25096) * Updating Dragon4 to ensure the number buffer always provides a significant digit if one exists. * Changing System.Number.RoundNumber to not round up floating-point numbers. * Re-enabling the RealFormatterTestsBase CoreFX tests * Updating Number.RoundNumber to take a isCorrectlyRounded parameter and to use IEEE compliant rounding for floating-point numbers. * Change SinglePrecisionCustomFormat to 7, ensuring it matches the value used in netcoreapp2.1
2019-06-24Make Vector*.ToString() Culture invariant (#25343)Ganbarukamo4147-0/+1814
* Remove IFormattable * Hardcode characters * Add tests
2019-06-23MemoryExtensions ToUpper / ToLower throws for overlapping buffer (#25327)Marco Rossignoli1-0/+6
2019-06-22[master] Update dependencies from dotnet/corefx (#25120)dotnet-maestro[bot]1-5/+4
* Update dependencies from https://github.com/dotnet/corefx build 20190621.1 - Microsoft.Bcl.AsyncInterfaces - 1.0.0-preview7.19321.1 - Microsoft.NETCore.Platforms - 3.0.0-preview7.19321.1 - Microsoft.Private.CoreFx.NETCoreApp - 4.6.0-preview7.19321.1 * Disable failing tests
2019-06-21Merge pull request #25260 from briansull/GitHub_25134Brian Sullivan2-0/+192
Fix Issue #25134 - AssertionProp incorrectly removes cast from uint
2019-06-21Add EventPipe Processor Number support and make NetTrace the default … ↵Noah Falk2-3/+30
(#25276) * Add EventPipe Processor Number support and make NetTrace the default format The EventPipe header now has a Processor Number field. On windows we query the correct value, on other OSes we currently have a -1 placeholder, but the field is written to the format regardless. NetTrace is now the default format when using the environment variable, and the format must be explicitly configured when using the IPC channel or managed API. A parallel change in the diagnostics repo is changing dotnet-trace and dotnet-counter to specify nettrace format which means .NET devs should see nettrace almost exclusively from now on. If for whatever reason it is needed, NetPerf remains available if a scenario explicitly requests to use it. * PR feedback + attempting to fix broken tests
2019-06-21Fix test to use mutual waits (#25317)Carol Eidt1-7/+10
Fix #25245
2019-06-21Address nullable feedback for System.Diagnostics.Tracing and StackTrace (#25303)Santiago Fernandez Madero1-0/+10
* Address nullable feedback for System.Diagnostics.Tracing and StackTrace * Disable corefx tests that need to be updated
2019-06-21Disable unloading incompatible test for runincontext (#25126)Jan Vorlicek9-3/+21
* Disable unloading incompatible test for runincontext These tests do various things that make them incompatible with running in an unloadable assembly load context using the runincontext tool. I've attached comments to the UnloadabilityIncompatible element describing the specific problems of each test. I've also found a problem in the parameter passing in the runincontext.sh where it was always passing 7 parameters to each test and tests that were checking the number of parameters were failing due to that. This change fixes it by passing just the parameters that were passed to the runincontext.sh. * Added printing unhandled exception details if it happened in the test * Added 10ms wait to the GC collection loop to also give time to async stuff to completely exit threadpool threads
2019-06-20Added the complementary test cases of going from a negative int to an unsigned.Brian Sullivan1-8/+77
2019-06-20Disable NativeVarargsTest on Windows Nano Server. (#25284)Jeremy Koritzinsky1-1/+1
2019-06-20Triage issues in #25098 (#25240)Egor Chesakov1-10/+18
2019-06-20Remove test 366085 (#25277)Jan Vorlicek2-77/+0
This test was checking for "Parameter name:" substring in the ArgumentNullException message. But a recent change #25185 modified that string to just "Parameter". We also have a coverage for this in corefx tests, so I am removing this test.
2019-06-19Merge pull request #25265 from BruceForstall/FixCorefxTestingScriptBruce Forstall1-9/+42
Update run-corefx-tests.py for new 3.0.0 directory name
2019-06-19Update run-corefx-tests.py for new 3.0.0 directory nameBruce Forstall1-9/+42
2019-06-19Address nullable feedback for S.T.Overlapped, S.Memory, S.R.InteropServices ↵Santiago Fernandez Madero1-0/+2
(#25214) * Address nullable feedback for System.Threading.Overlapped * Address nullable feedback for System.Memory * Address nullable for System.Runtime.InteropServices * Update xml comments and make CultureInfo nullable to match String.ToLower/Upper feedback * PR feedback: revert accepting null comparer in BinarySearch * Disable test that needs to be updated in corefx
2019-06-19Fix Issue #25134 - AssertionProp incorrectly removes cast from uintBrian Sullivan2-0/+123
Add additional check for the GT_UNSIGNED flag + Ran clang-format + Code review feedback, use IsUnsigned()