dotnet/runtime

Test Linq.Expression interpreted mode in CI

開放

#18,802 建立於 2016年9月30日

 (3 則留言) (0 個反應) (0 位負責人)C# (5,445 個分叉)batch import
area-System.Linq.Expressionshelp wantedtest-bug

倉庫指標

星標
 (17,886 顆星)
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.

貢獻者指南