Skip to content

Commit 7456e69

Browse files
committed
make sure nettrace exists if required on Linux
1 parent 4915c15 commit 7456e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure/Commands/GCPerfSim/GCPerfSimCommand.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ internal static Dictionary<string, ProcessExecutionDetails> ExecuteLocally(GCPer
205205
if (configuration.TraceConfigurations?.Type != "none")
206206
{
207207
// Not checking Linux here since the local run only allows for Windows.
208-
if (!File.Exists(Path.Combine(outputPath, traceName + ".etl.zip")))
208+
if (!File.Exists(Path.Combine(outputPath, traceName + ".etl.zip")) && !File.Exists(Path.Combine(outputPath, traceName + ".nettrace")))
209209
{
210210
AnsiConsole.MarkupLine($"[yellow bold] ({DateTime.Now}) The trace for the run wasn't successfully captured. Please check the log file for more details: {Markup.Escape(output)} Full run details: {Path.GetFileNameWithoutExtension(configuration.Name)}: {runInfo.CorerunDetails.Key} for {runInfo.RunDetails.Key} [/]");
211211
}

0 commit comments

Comments
 (0)