dotnet/runtime

Test Linq.Expression interpreted mode in CI

Open

#18 802 ouverte le 30 sept. 2016

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)C# (5 445 forks)batch import
area-System.Linq.Expressionshelp wantedtest-bug

Métriques du dépôt

Stars
 (17 886 stars)
Métriques de merge PR
 (Merge moyen 12j 11h) (661 PRs mergées en 30 j)

Description

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.

Guide contributeur