Run SuperIlc with CoreRun
authorSimon Nattress <nattress@gmail.com>
Thu, 20 Feb 2020 19:34:07 +0000 (11:34 -0800)
committerSimon Nattress <nattress@gmail.com>
Thu, 20 Feb 2020 19:34:07 +0000 (11:34 -0800)
src/coreclr/tests/issues.targets
src/coreclr/tests/src/readytorun/coreroot_determinism/Program.cs

index ac8e8f9..02cf560 100644 (file)
         <ExcludeList Include="$(XunitTestBinBase)/Loader/classloader/generics/Variance/Interfaces/Interfaces001/*">
             <Issue>https://github.com/dotnet/runtime/issues/3893</Issue>
         </ExcludeList>
-        <ExcludeList Include="$(XunitTestBinBase)/readytorun/coreroot_determinism/coreroot_determinism/*">
-            <Issue>32333</Issue>
-        </ExcludeList>
     </ItemGroup>
 
     <!-- All Unix targets -->
index 6feb940..4f9706b 100644 (file)
@@ -84,7 +84,8 @@ internal class Program
 
     public static bool CompileWithSeed(int seed, string coreRootPath, string compilationInputFolder, string outDir)
     {
-        string superIlcPath = Path.Combine(coreRootPath, "ReadyToRun.SuperIlc", OSExeSuffix("ReadyToRun.SuperIlc"));
+        string superIlcPath = Path.Combine(coreRootPath, "ReadyToRun.SuperIlc", "ReadyToRun.SuperIlc.dll");
+        string coreRunPath = Path.Combine(coreRootPath, OSExeSuffix("corerun"));
 
         Console.WriteLine($"================================== Compiling with seed {seed} ==================================");
         Environment.SetEnvironmentVariable("CoreRT_DeterminismSeed", seed.ToString());
@@ -93,7 +94,7 @@ internal class Program
             Directory.Delete(outDir, true);
         }
         Directory.CreateDirectory(outDir);
-        ProcessStartInfo processStartInfo = new ProcessStartInfo(superIlcPath, $"compile-directory -cr {coreRootPath} -in {compilationInputFolder} --nojit --noexe --large-bubble --release --nocleanup -out {outDir}");
+        ProcessStartInfo processStartInfo = new ProcessStartInfo(coreRunPath, $"{superIlcPath} compile-directory -cr {coreRootPath} -in {compilationInputFolder} --nojit --noexe --large-bubble --release --nocleanup -out {outDir}");
         var process = Process.Start(processStartInfo);
         process.WaitForExit();
         if (process.ExitCode != 0)