From b1a10189e0b29424021e80a57997978d4771e2b6 Mon Sep 17 00:00:00 2001 From: Miha Zupan Date: Sun, 6 Oct 2024 20:14:02 +0200 Subject: [PATCH] Allow using verbose & debuginfo flags --- Runner/Helpers/JitDiffUtils.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Runner/Helpers/JitDiffUtils.cs b/Runner/Helpers/JitDiffUtils.cs index efdd789..a9f263d 100644 --- a/Runner/Helpers/JitDiffUtils.cs +++ b/Runner/Helpers/JitDiffUtils.cs @@ -20,12 +20,13 @@ private static async Task RunJitDiffAsync(JobBase job, string coreRootFolder, st { bool useCctors = !job.TryGetFlag("nocctors"); bool useTier0 = job.TryGetFlag("tier0"); - - await job.LogAsync($"Using cctors for {coreRootFolder}: {useCctors}"); - await job.LogAsync($"Using tier0 {coreRootFolder}: {useTier0}"); + bool verbose = job.TryGetFlag("verbose"); + bool debugInfo = job.TryGetFlag("debuginfo"); await job.RunProcessAsync("jitutils/bin/jit-diff", $"diff " + + (debugInfo ? "--debuginfo " : "") + + (verbose ? "--verbose " : "") + (useCctors ? "--cctors " : "") + (useTier0 ? "--tier0 " : "") + $"--output {outputFolder} " +