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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/tests
AgeCommit message (Collapse)Author
2021-02-27Remove .csproj files from mcs/ build, they were never used (#20883)Alexander Köplinger
This allows us to remove a lot of cruft and simplifies our CI build.
2020-01-24[mcs] Fix support for digit separators (#18539)mdh1418
* [mcs] skip "_" when building number * [mcs] Refactor digit separator feature report * [mcs] Clean up digit separator code * [mcs] Throw errors for invalid digit separator usage * [mcs] Fix hex and bin usage of digit separator tests * [mcs] Add digit separator usages that throw errors * [mcs] Update il
2019-10-16[interp] Add constant propagation of integers (#17326)Vlad Brezae
* [interp] Make StackValue more intuitive Replace the opcode field with an enum which will represent what type of value is contained (STACK_VALUE_LOCAL, STACK_VALUE_I4 etc) * [interp] Add the mint type to the local data Makes the emitting code easier and we no longer compute the mint type for each local access, which is fairly expensive. * [interp] Handle indirect locals saner during cprop Instead of checking for the indirect flag when loading from a local, simply never store a StackValue into such a local since we can't use it. We use the same logic when not pushing on the stack values for such locals. * [interp] Add constant folding for integers We decode the values from LDC_I4 and LDC_I8 opcodes and track/propagate the values on the stack and in the locals using the existing infrastructure. When loading a local, we try to load using the known constant value instead, so we might get to kill that local. * [interp] Similar to stloc.np we can optimize pop/push pairs If the pushing instruction pushes the same value that was popped by the previous instruction, we can kill them both * [tests] Remove issue that seems to have been fixed for a while
2019-06-19[netcore] Update the checks for ByRef return type in reflection invocation ↵Filip Navara
(#14967) * Update the checks for ByRef return type in reflection invocation to also check for IsByRefLike types. This was missed as part of #13901 and noted in the description. Fixes #14959, #14960, #14961, #14963 * Modify the reflection checks for IsByRef/IsByRefLike to check for same conditions as CoreCLR * Handle reflection invocation with ref void return type * Update test-ref-07 to have Main method that is valid to invoke through reflection (as the test runner does) * Update expected IL
2019-06-05Align mcs's tuple deconstruction behavior with cscBijan Tabatabai
Before the code (a, b) = (b, a); was the equivalent of a = b; b = a; now, it evaluates it to so something like tmp1 = a; tmp2 = b; a = tmp2; b = tmp1; Signed-off-by: Bijan Tabatabai <bijan311@yahoo.com>
2019-03-06[gitattributes] Do CRLF normalization on sln/proj filesAlexander Köplinger
They can be used with native line endings. We now have a shared folder with the dotnet repos and they have CRLF normalization enabled. This difference leads to conflicts while applying changes from the dotnet repos to mono.
2018-12-07[corlib] Import FileSystemInfo and family from CoreFX (#11342)Alexis Christoforides
Includes the following from System.IO: * FileSystemInfo * FileInfo * DirectoryInfo * Directory * FileSystem * Path `Join()` Span API and all of System.IO.Enumeration namespace. Adds about 1600 System.IO tests Behavior changes: * `File.Replace` now replaces files even if they are read-only (using the `rename` syscall on Unix) * Directory enumeration is no longer stable in the way that many Mono tests expect * Some changes in when/whether some representations of directories contain a trailing separator character * Changes in which exceptions are thrown (sometimes these are platform-dependent on CoreFX) Issues: * https://github.com/dotnet/corefx/issues/33486 * https://github.com/dotnet/corefx/issues/33490 Part of #7246
2018-11-13[ci] Add targets to bundle tests and add a script to run them in HelixAlexander Köplinger
The test-bundle target copies all assets needed for test execution to a specified directory. We upload this directory to Helix and use it to run our mainline tests.
2018-11-12Add common "test" target for precompiling test assemblies (#11622)Alexander Köplinger
So we can precompile all tests across the repo using a simple "make test" in the root.
2018-10-02[Reflection] Fix the issue with ToString method in MonoCMethod type (#10901)Maxim Lipnin
Fixes https://github.com/mono/mono/issues/10838. The new behavior is similar to coreclr's one: https://github.com/dotnet/coreclr/blob/af4ec7c89d0192ad14392da04e8c097da8ec9e48/src/System.Private.CoreLib/src/System/Reflection/RuntimeConstructorInfo.cs#L145
2018-10-02[mcs] Fix test compilation to use common targetAlexander Köplinger
Add proper dependencies to the test support files where they were missing. Compile test files using the standard "make test" target.
2018-09-25[mcs] Add option to specify reference directory to compiler-tester (#10787)Alexander Köplinger
We can use this to pass a directory the tests can use for -r or -lib. Also fix cs1703-2.cs to not rely on binary outside repo during test.
2018-09-13[mcs] Adds cloning for default literalsMarek Safar
2018-07-23[mcs] Don't wrap exception expression in contextual return. Fixes #9505Marek Safar
2018-07-17[mcs] Add parsing for readonly argument modifierMarek Safar
2018-07-11[mcs] Implements awaited expression check for indirectionsMarek Safar
2018-06-27[mcs] Implements C# 7.3 extensible fixed statementMarek Safar
Part of #6854
2018-06-18[mcs] Extend emit preparation to binary expressions. Fixes #9155Marek Safar
2018-05-24[mcs] Adds parser support for C# 7.2 readonly referencesMarek Safar
2018-04-14Make stack traces readable (#6675)Ben Adams
* Make stack traces readable * Updates the logic to work on Mono * [symbolicate] Add support for prettified async stack traces * Tests update
2018-04-11[mcs] Fixes parameter check for interface types used with default parametersMarek Safar
2018-04-09[mcs] Adds private protected modifier to the parser onlyMarek Safar
2018-04-07[mcs] Implements C# 7 digits separatorsMarek Safar
2018-04-06[mcs] Fixes codegen when probing reference type expression is known to pass ↵Marek Safar
and pattern variable has to be created
2018-04-06[mcs] Implements C# 7.2 stackalloc span conversion in conditional expressionMarek Safar
2018-04-05[mcs] Implements C# 7.2 conditional ref expressionMarek Safar
2018-03-28[mcs] Updates common array bounds unification to use universal type comparerMarek Safar
2018-03-21[mcs] Adds cloning for TupleLiteralElement expressions (#7746)Marek Safar
Fixes #7729
2018-03-21[mcs] Fixes codegen for null fixed string statementMarek Safar
2018-03-17Implement C#7 binary literals (#7659)Miguel de Icaza
* C# 7.0 binary literal support * [mcs] Add another negative error test
2018-03-15[mcs] Fixes parsing ref-struct with partial keywordMarek Safar
2018-03-01[interp] Enable more tests (#7315)Ludovic Henry
* [interp] Enable more runtime tests * [interp] Enable more mcs tests
2018-02-06[interp] Add support for vararg call conventionVlad Brezae
When doing a vararg call we push on the vtstack the current call signature followed by the params. The child_frame will have a pointer to this memory on the parents vt_stack from where it can linearly access the varargs using the same ArgIterator logic.
2018-01-26Bump corefxMarek Safar
2018-01-22[mcs] Implements C# 7 tuples implicit deconstructionMarek Safar
2018-01-19[mcs] Adds missing default literal conversion test in probing code pathMarek Safar
2018-01-17[mcs] Implements C# 7.0 discardsMarek Safar
2018-01-15[mcs] C# 7.2 non-trailing named argumentsMarek Safar
2018-01-03[mcs] Allow calling by-ref types virtual methods which can be devirtualized.Marek Safar
2018-01-02[mcs] Implements 7.2 stackalloc to Span assignment conversion.Marek Safar
2018-01-02[mcs] readonly struct this can be reassigned within ctorMarek Safar
2017-12-22[mcs] Implements C# 7.0 Generalized async return typesMarek Safar
2017-12-22[mcs] Support implicit user conversion from nullable type without ↵Marek Safar
unwrapping. Fixes #60900
2017-12-21[mcs] Adds parser support for readonly ref syntaxMarek Safar
2017-12-21[mcs] Fixes parsing of default literal inside conditional expressionMarek Safar
2017-12-15[interp] on cee_ret use underlying type which handles, among other things, ↵Bernhard Urban
ref types correctly while at it: * only get MonoClass if really necessary. * use helper function to print method with signature. fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=60756
2017-12-13[mcs] Propagate flow analysis for tuple deconstructMarek Safar
2017-11-29[mcs] Implements C#7.1 default literalMarek Safar
2017-11-28[mcs] Populate referencecontainer member-cache correctly. Fixes #60860Marek Safar
2017-11-21[mcs] C# 7.2 ref struct featureMarek Safar