Fix test framework crossgening (#42874)
authorJan Vorlicek <janvorli@microsoft.com>
Wed, 30 Sep 2020 14:36:25 +0000 (16:36 +0200)
committerGitHub <noreply@github.com>
Wed, 30 Sep 2020 14:36:25 +0000 (16:36 +0200)
commit13b457ae93a69187ddd8412493e99d13bb3307e6
treed0dc321607b2c4454e6d425eaaa4331dd2ff4fe3
parent994dca6f34dc709aa91a5976ea8322ef7a9604d1
Fix test framework crossgening (#42874)

The recent change that replaced direct invocation of crossgen and
crossgen2 for crossgening framework assemblies for coreclr tests by
r2rtest tool usage has ommited the --release and --large-bubble
arguments. These correspond to the former -O and --inputbubble crossgen2
commands and should be present.

This also fixes failures in running tests with the crossgened runtime.
Many tests were failing with the error `Could not execute the method
because either the method itself or the containing type is not fully
instantiated.`

So while there is a problem to investigate related to debug flavor of
crossgening, this PR fixes the options.
src/tests/build.cmd