Add dotnet info to PMI asm diffs output
authorBruce Forstall <Bruce_Forstall@msn.com>
Tue, 18 Dec 2018 00:09:35 +0000 (16:09 -0800)
committerBruce Forstall <Bruce_Forstall@msn.com>
Tue, 18 Dec 2018 00:09:35 +0000 (16:09 -0800)
This might help diagnose issues.

Commit migrated from https://github.com/dotnet/coreclr/commit/9e602a4e24c8709b889e3faa5ac180c9301799eb

src/coreclr/tests/scripts/run-pmi-diffs.py

index acf15fc..9339007 100644 (file)
@@ -484,6 +484,11 @@ def do_pmi_diffs():
     log('Add %s to my PATH' % dotnetcliPath)
     my_env["PATH"] = dotnetcliPath + os.pathsep + my_env["PATH"]
 
+    # To aid diagnosing problems, do "dotnet --info" to output to any capturing logfile.
+
+    command = ["dotnet", "--info"]
+    returncode = run_command(command, my_env)
+
     # Clone jitutils
 
     command = 'git clone -b master --single-branch %s %s' % (Jitutils_url, jitutilsPath)