From cb5177399c0a681c811fc5a277de8cc852961505 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tom=C3=A1=C5=A1=20Rylek?= Date: Mon, 17 Aug 2020 20:23:38 +0200 Subject: [PATCH] Reenable crossgen2smoke under GC stress (#40849) This change removes the open-coded Crossgen2 execution from the crossgen2smoke test project and switches it over to use the normal CLRTest.Crossgen.targets logic for Crossgen2 invocation. As the CLRTest.Crossgen.targets script already contains my fix for the underlying issue - we were inadvertently running the Crossgen2 compiler itself in GC stress mode and timing out due to the long compilation times - we can now reenable this test in GC stress mode. Thanks Tomas --- src/coreclr/tests/src/CLRTest.CrossGen.targets | 15 +++++++++++++++ .../readytorun/crossgen2/crossgen2smoke.csproj | 22 +--------------------- .../determinism/crossgen2determinism.csproj | 8 ++++---- 3 files changed, 20 insertions(+), 25 deletions(-) diff --git a/src/coreclr/tests/src/CLRTest.CrossGen.targets b/src/coreclr/tests/src/CLRTest.CrossGen.targets index 96a8233..5ff7ec9 100644 --- a/src/coreclr/tests/src/CLRTest.CrossGen.targets +++ b/src/coreclr/tests/src/CLRTest.CrossGen.targets @@ -35,6 +35,13 @@ WARNING: When setting properties based on their current state (for example: true 0 - - true - true true - - .ildll - - false + true @@ -27,18 +21,4 @@ - - - - diff --git a/src/tests/readytorun/determinism/crossgen2determinism.csproj b/src/tests/readytorun/determinism/crossgen2determinism.csproj index 3a53e32..ed707ae 100644 --- a/src/tests/readytorun/determinism/crossgen2determinism.csproj +++ b/src/tests/readytorun/determinism/crossgen2determinism.csproj @@ -18,16 +18,16 @@ -- 2.7.4