321 Commits
Author SHA1 Message Date
Marek Safar dc9bc9e0e6 Enables SRE for wasm 2019-01-23 11:17:47 +01:00
Vlad Brezae 9c6d733449 [interp] Fix rethrow (#11844)
* [interp] Remove some useless code

* [interp] Remove useless variable

When unwinding, we get the last interp frame that was executing from the LMF marker.

* [interp] Rethrow from the actual ip

Before we would rethrow from ip - 1 which could be part of another clause, screwing up EH.

* [interp] Enable all bcl disabled tests
2018-11-30 11:22:11 +02:00
Bernhard Urban ffdb072fdf [interp] add System.Core tests to CI (#8371)
https://github.com/mono/mono/issues/7053
2018-04-23 12:52:07 -04:00
Marek Safar 28d577d63f Bump corefx 2018-01-26 19:04:04 +01:00
Rodrigo Kumpera 232af8c206 Add CI to WebAssembly. This is PR based on top of # Only the top 3 commits matter for this PR: (#6488)
* [WASM] Fix System.Core issues and disable broken tests.

* [wasm] Fix cookie computation heap overflow. Use a local to make it thread safe.

* [wasm] Disable System tests that don't work under WASM. Change the wasm profile to disable BSD sockets.

* [wasm] Address reviewer feedback.

* [wasm] Disable test that requires multiple threads.

* [wasm] Add package target to wasm.

* [wasm] Modify the runner to exit(1) if the test suite fails.

* [wasm] Add CI configuration for WebAssembly.

* [wasm] Fix issues found over review.
2018-01-18 14:34:00 +01:00
Egor Bogatov cae8dd6dbd [System.Core] Use corefx System.Linq tests (~25k tests) (#5515) 2017-12-19 23:03:59 +01:00
Bernhard Urban 746a3d0214 [corlib] rename NotWorkingInterpreter and InterpreterNotWorking categories (#6225) 2017-12-14 00:52:49 +01:00
Alexander Köplinger 5ef930b5f8 [bcl] Build some assemblies with -warnaserror (#5295)
* [bcl] Build some assemblies with -warnaserror

This ensures that we keep the build warning free.

We'll only opt-in a few assemblies that already have zero warnings.
We also only apply this when using csc as mcs might raise different warnings.

For now just opt-in assemblies in the net_4_x profile.
2017-11-24 14:05:39 +01:00
Marek Safar 6706cae9a2 [System.Core] Linker friendly test update 2017-04-04 10:50:56 +02:00
Marek Safar 6c600321a7 [System.Core] Update mobile test 2017-03-20 23:03:57 +01:00
Rolf Bjarne Kvinge 36cbe76167 [test] Use FULL_AOT_RUNTIME instead of MONOTOUCH. 2016-12-21 16:32:29 +01:00
Rolf Bjarne Kvinge 5948e157e8 [test] DynamicMethod isn't available on iOS. 2016-12-21 11:44:10 +01:00
Marek Safar 9d5de96b0f [System.Core] SLE from CoreFX including interpreter 2016-12-19 14:19:30 +01:00
Aleksey Kliger 57527cb400 [test] Test for System.Linq.Expressions.MethodCallExpression with a DynamicMethod
Regression test for https://bugzilla.xamarin.com/show_bug.cgi?id=49686
2016-12-13 16:34:16 -05:00
Alexander Köplinger b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Zoltan Varga 3556a48318 [bcl] Fix a System.Core test failure caused by a method linked away. 2016-01-21 17:23:53 -05:00
Alexander Köplinger 6329627590 [System.Core] Make sure DateTime.AddDays() is preserved by the linker in a test
We use the method in the code instead of just via reflection.
This allows the test to work on iOS device builds.
2015-11-02 18:11:45 +01:00
Alexander Köplinger 8421ea6a46 [interpreter] Relax check for forcing compilation for built-in structs
Method calls on structs like DateTime wouldn't work before,
even though we know we don't have self mutating structs in mscorlib.

Fixes part 2 of https://bugzilla.xamarin.com/show_bug.cgi?id=34334
2015-10-21 19:38:27 +02:00
Alexander Köplinger b72ee9135d [interpreter] Implement comparing string values in (Not)EqualInstruction
When comparing a string with null the other checks in the interpreter for type equality didn't catch this case
and this ultimately resulted in a NotImplementedException in EqualInstruction and NotEqualInstruction.

The fix is to handle the TypeCode.String case in those instructions.
We don't need to do it for CreateLifted() as that method only applies for Nullable<T> types which doesn't make sense for string.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=34334
2015-10-14 21:23:11 +02:00
Alexander Köplinger 98cf04084a [bcl] Remove NET_4_0 defines from class libs
NET_4_0 is always defined now, so the ifdefs are redundant.
I verified the libs are exactly the same after this change, so this is effectively a no-op.
2015-07-26 15:01:49 +02:00
Alexander Köplinger 48e112d652 [Cleanup] Removed TARGET_JVM
It was once part of a special Java target profile, but this is no longer used today.
2014-08-08 03:28:34 +02:00
Marek Safar 2fd90f98a4 [interpreter] Implement simple quote expression. Fixes #18248 2014-03-11 14:29:55 +01:00
Marek Safar f2eab9919d [dlr] Handle more expressions in interpreter 2014-01-26 11:35:09 +01:00
Marek Safar 95d5c30a29 New tests 2014-01-22 17:54:14 +01:00
Marek Safar 5d20cad529 [sle] Enable char equality comparison. Fixes #15582 2013-11-12 20:45:13 +01:00
Marek Safar a208b628e9 Implements lifted nullable comparison with null 2013-08-16 15:18:49 +02:00
Zoltan Varga 9bb552dcc0 Disable a failing System.Core test for mt (#12987). 2013-07-04 01:23:33 +02:00
Sebastien Pouliot f9ebdc5615 Re-enable a test for the MOBILE profile (by ensuring the required method is not removed by the linker) 2013-06-04 10:58:40 -04:00
Zoltan Varga 3ac08cbb1b Disable a System.Core test which fails on mt because of linking. 2013-05-04 04:19:23 +02:00
Marek Safar 1ff548cb12 Update for mobile profile 2013-02-27 14:08:38 +01:00
Jb Evain 5ea447210d Add test for bug #2304 2011-12-02 16:45:20 +01:00
Jb Evain daf322c099 Add test for bug ug #678897 2011-03-15 22:19:09 +01:00
Jb Evain d368e0a10a Add MakeBinary test for ArrayIndex expressions 2010-11-29 22:51:55 +01:00
Jb Evain 48f763576b Add test for bug #625367 2010-07-26 13:04:52 +02:00
Jb Evain 3554b87644 2010-05-19 Jb Evain <[email protected]>
* ExpressionTest_Constant.cs: add tests for nullable constants.


svn path=/trunk/mcs/; revision=157551
2010-05-19 13:36:47 +00:00
Jb Evain 95b0b88223 fix typo
svn path=/trunk/mcs/; revision=155032
2010-04-08 10:04:39 +00:00
Jb Evain 76e05b36fd net_4_0 bug
svn path=/trunk/mcs/; revision=154939
2010-04-07 13:09:10 +00:00
Jb Evain 7b19040b46 this one has been passing for quite a while now
svn path=/trunk/mcs/; revision=154938
2010-04-07 12:56:40 +00:00
Jb Evain 4eb2be1bd7 net_4_0 change
svn path=/trunk/mcs/; revision=154937
2010-04-07 12:48:00 +00:00
Jb Evain 1dabd350af do not assert on ToString result
svn path=/trunk/mcs/; revision=154936
2010-04-07 12:41:44 +00:00
Jb Evain 998e9a01f5 add bug info
svn path=/trunk/mcs/; revision=154935
2010-04-07 12:41:27 +00:00
Jb Evain df3d82d078 overflow bug has been fixed in net_4_0
svn path=/trunk/mcs/; revision=154934
2010-04-07 12:41:09 +00:00
Jb Evain 4d4518d819 quote only work on lambda on net_4_0
svn path=/trunk/mcs/; revision=154933
2010-04-07 12:40:49 +00:00
Jb Evain 5329897d22 dlr bug
svn path=/trunk/mcs/; revision=154932
2010-04-07 12:31:31 +00:00
Jb Evain a795caa374 fix ET tests for 4.0
svn path=/trunk/mcs/; revision=154861
2010-04-06 15:45:31 +00:00
Jb Evain d7f5bc5c88 fix ET tests for 4.0
svn path=/trunk/mcs/; revision=154860
2010-04-06 15:38:58 +00:00
Jb Evain 3d6f8ed27d add test for 568989
svn path=/trunk/mcs/; revision=149241
2010-01-08 14:00:05 +00:00
Jb Evain 09098f0ac2 remove NotWorking
svn path=/trunk/mcs/; revision=146226
2009-11-15 16:53:59 +00:00
Jb Evain dc5abe920e remove NotWorking
svn path=/trunk/mcs/; revision=146224
2009-11-15 15:58:35 +00:00
Jb Evain 8a35b8c4ca add test for 536637
svn path=/trunk/mcs/; revision=146221
2009-11-15 15:47:44 +00:00