Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-02Fix typos (#73122)Adeel Mujahid
2022-08-01Add localloc empty stack verification (#73109)Denis Proshutinskii
* Add localloc empty stack verification * Update error message * Add more tests * Fix tests Co-authored-by: Jan Kotas <jkotas@microsoft.com> Co-authored-by: Dan Moseley <danmose@microsoft.com>
2022-07-11Consolidate Newtonsoft versions (#71402)Adeel Mujahid
* Consolidate Newtonsoft versions * Set JsonTextReader's MaxDepth to null In v13, defaults are changed from null to 64. * Revert NetCoreServer used by xharness
2022-06-23Bump Newtonsoft.Json from 9.0.1 to 13.0.1 in /src/tests/ilverify (#71141)dependabot[bot]
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 9.0.1 to 13.0.1. - [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases) - [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/9.0.1...13.0.1) --- updated-dependencies: - dependency-name: Newtonsoft.Json dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-01Add AssemblyName overload for ILVerify.IResolver.Resolve method (#65905)Jan Kotas
Fixes #65573
2022-02-17Fix verification of open delegates (#65425)Jan Kotas
Fixes #65010
2022-01-21ILVerify: Handle readonly references in ldfld (#64077)Jan Kotas
* ILVerify: Handle readonly references in ldfld Fixes #63953 * Fix test name Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
2022-01-04Fixed ILVerify incorrectly flagging valid default interface implementations ↵Benjamin Bartels
(#61185) * Added logic for default interface method traversal to ILVerify method discovery * Added Tests for DefaultImplFix * Moved call to default interface impl resolution outside of ResolveInterfaceMethodTarget
2021-12-04Remove explicit Exe output types from tests without Main (#62361)Tomáš Rylek
These three projects apparently already use the [Fact] model; this causes trouble in the switch-over to support new-style merged test wrappers as the system believes these are standalone tests due to the explicit Exe output type specification and and they fail to provide a Main method. Thanks to Jeremy's source generation change we can now tag them as "new-style tests". Thanks Tomas
2021-11-18src/tests tree test xunit-based source generated runner (#60846)Jeremy Koritzinsky
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com> Co-authored-by: Jan Kotas <jkotas@microsoft.com> Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com> Co-authored-by: Tomas <trylek@microsoft.com>
2021-11-11Explicitly mark tests with CLRTestKind=SharedLibrary (#61235)Tomáš Rylek
Previously the Directory.Build.targets script used to automatically infer that OutputType=Library without a CLRTestKind implies SharedLibrary. This is however hard to consolidate with the planned test merging - as the SDK script set OutputType=Library by default, we need the combination Library+(implicit)BuildAndRun to indicate the "new-style" [Fact]-based tests. For this reason I propose to remove this automatic inference and manually fix the handful of tests that are missing an explicit CLRTestKind=SharedLibrary property. In light of this description we can theoretically remove the OutputType=Library specification from all test projects but even if we decide to do that, I believe it will be easier to do that as a separate mechanical change, not as part of this relatively small change that has a different purpose. Additionally in the one case of the GitHub_22583 regression test, I removed the explicit setting of GenerateRunScript=false because that's the default. Fix OutputType=exe in OpenDelegate.csproj I believe this was a pre-existing bug - previously, with the special clause regarding SharedLibrary, the test just got silently skipped because it was considered to be a shared library. Thanks Tomas
2021-08-18Allow initonly field during ldflda and stfld import (#57385)Adeel Mujahid
2021-08-13Add support for function pointers in ilverify (#57163)Adeel Mujahid
* Provide logic verifying access to function pointer. Extend AccessVerificationHelpers.CanAccess method so that it is able to handle FunctionPointerType by making sure that a current class can access all the types returned or accepted by the method pointed by the given function pointer. Fix #43502 * Add support for function pointers in ilverify importer * Add ilverify tests for function pointers * Trim trailing whitespace * Use public surface of FunctionPointerType * Check both return type and arguments of signature * Delete CanAccessMethodSignature and simplify * Add a test case for inaccessible return type
2020-12-27Fix ILVerify Default Method Verification (#46404)Benjamin Bartels
2020-12-08December infra rollout - remove duplicated 'src' from coreclr subrepo ↵Tomáš Rylek
(src/coreclr/src becomes src/coreclr) (#44973) * Move src/coreclr/src/Directory.Build.targets to src/coreclr Merge src/coreclr/src/CMakeLists.txt into src/coreclr/CMakeLists.txt * Mechanical move of src/coreclr/src to src/coreclr * Scripts adjustments to reflect the changed paths
2020-11-03Check catch and throw non-Exception derived types (#43969)Adeel Mujahid
Verifies: * `X` is derived from `Exception` in `throw X`. * `throw null` is valid. * `X` is derived from `Exception` in `catch(X)`. Contributes to #37390
2020-07-18Fix il verification tests (#39538)David Wrighton
* Revert "delete test project. (#39501)" This reverts commit ecb231cb3d962d332d00344358b0559043d29f88. * Fix ILVerification tests - Re-enable the test project build - Change string resources in type system to directly use ResourceManager instead of SR abstraction which is unavaliable in the test build tree - Add test to verify that all ExceptionStringID values have associated strings - Use ToolsCommonPath property to successfully reference the correct resource file * Address feedback and allow the strings to be handled with a runtime implementation
2020-07-17delete test project. (#39501)Sergey Andreenko
2020-07-08Update license headers (#38793)Stephen Toub
2020-07-08July infra rollout: Move runtime tests out of the coreclr folder (#38058)Tomáš Rylek
* Mechanical move of tests from src/coreclr/tests/src to src/tests * Minimum changes to make CoreCLR tests build in the new location (*) Path changes in the test build scripts; (*) Modify runtime.yml filtering based on Nathan's and Santi's feedback; (*) Fix runtime pipeline filtering clauses per Santi's PR feedback; (*) Fix path to Coreclr.TestWrapper.csproj; (*) Pass unprocessed build args to test wrapper creation; (*) Fix missing $(TestRoot) on groups in Pri0 test build mode. Thanks Tomas