dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.45k stars 4.76k forks source link

Test Linq.Expression interpreted mode in CI #18802

Open VSadov opened 8 years ago

VSadov commented 8 years ago

We had some recent test changes that would not be runnable under AOT for sure and nothing was broken. That proves that we do not run Linq.Expressions with AOT.

Also, attempts to run tests with AOT wee not very successful.

We need to make sure the tests are runnable with AOT.

That includes figuring out how to exclude scenarios that are known not AOT compatible - like usage of Reflection.Emit in tests. Most likely introduce some #if in the code and, parameterise the csproj file to not take dependencies on stuff like Ref.Emit when targeting AOT.

hughbe commented 8 years ago

You mentioned ref-emit not being supported in AOT. Once we get the AOT infrastructure up and running, I can try to convert classes created using ref-emit into IL - also would be a good opportunity for me to learn IL!

ViktorHofer commented 5 years ago

This issue is tracking running the interpreted mode which is currently not enabled: https://github.com/dotnet/corefx/blob/master/src/System.Linq.Expressions/src/System.Linq.Expressions.csproj#L10

DiviyamPathak commented 2 years ago

Is this still up work?