dotnet/runtime

Test Linq.Expression interpreted mode in CI

Open

#18.802 aperta il 30 set 2016

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)C# (5445 fork)batch import
area-System.Linq.Expressionshelp wantedtest-bug

Metriche repository

Star
 (17.886 star)
Metriche merge PR
 (Merge medio 12g 11h) (661 PR mergiate in 30 g)

Descrizione

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.

Guida contributor