dotnet/runtime

Test Linq.Expression interpreted mode in CI

Open

#18,802 创建于 2016年9月30日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)C# (5,445 fork)batch import
area-System.Linq.Expressionshelp wantedtest-bug

仓库指标

Star
 (17,886 star)
PR 合并指标
 (平均合并 12天 11小时) (30 天内合并 661 个 PR)

描述

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.

贡献者指南