From d8232a917551e343290572947547e14f47350c0c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tom=C3=A1=C5=A1=20Rylek?= Date: Fri, 13 Nov 2020 02:49:38 +0100 Subject: [PATCH] Subtle fixes for JIT build mode (#44615) Maoni expressed interest in experimenting with the R2RTest tool for the purpose of running arbitrary CoreCLR test subsets. As until now we've seldom used the tool in JIT mode, this naturally uncovered a bit of bitrot, frankly speaking less than I expected. Thanks Tomas --- src/coreclr/src/tools/r2rtest/BuildFolderSet.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/src/tools/r2rtest/BuildFolderSet.cs b/src/coreclr/src/tools/r2rtest/BuildFolderSet.cs index 4a7c94d..89bc481 100644 --- a/src/coreclr/src/tools/r2rtest/BuildFolderSet.cs +++ b/src/coreclr/src/tools/r2rtest/BuildFolderSet.cs @@ -535,7 +535,7 @@ namespace R2RTest foreach (ProcessInfo[] compilation in folder.Compilations) { ProcessInfo runnerCompilation = compilation[(int)runner.Index]; - if (!runnerCompilation.Succeeded) + if (!runnerCompilation.IsEmpty && !runnerCompilation.Succeeded) { compilationsSucceeded = false; break; @@ -636,7 +636,7 @@ namespace R2RTest bool anyCompilationFailed = false; foreach (CompilerRunner runner in _compilerRunners) { - if (compilation[(int)runner.Index] != null) + if (!compilation[(int)runner.Index].IsEmpty) { CompilationOutcome outcome = GetCompilationOutcome(compilation[(int)runner.Index]); compilationOutcomes[(int)outcome, (int)runner.Index]++; -- 2.7.4