<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 -->
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());
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)