From dc249a94e91fc27797774706bf1209aa9f4d5b12 Mon Sep 17 00:00:00 2001 From: Faizan Ahmad Date: Wed, 2 Nov 2016 21:34:35 +0530 Subject: [PATCH] Logging --- ...otnetTest3BuildsAndRunsTestFromCsprojForMultipleTFM.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/dotnet-test.Tests/GivenDotnetTest3BuildsAndRunsTestFromCsprojForMultipleTFM.cs b/test/dotnet-test.Tests/GivenDotnetTest3BuildsAndRunsTestFromCsprojForMultipleTFM.cs index d37ab18d3..3823bf267 100644 --- a/test/dotnet-test.Tests/GivenDotnetTest3BuildsAndRunsTestFromCsprojForMultipleTFM.cs +++ b/test/dotnet-test.Tests/GivenDotnetTest3BuildsAndRunsTestFromCsprojForMultipleTFM.cs @@ -65,8 +65,10 @@ namespace Microsoft.DotNet.Cli.Test.Tests Console.WriteLine("**********************************Vstest.console Log****************************************************************"); Console.WriteLine(File.ReadAllText(logfile1)); - Console.WriteLine("**********************************TestHost Log****************************************************************"); + Console.WriteLine("**********************************TestHost Log1****************************************************************"); Console.WriteLine(logfile2.Length > 0 ? File.ReadAllText(logfile2[0]) : "No log file found"); + Console.WriteLine("**********************************TestHost Log2****************************************************************"); + Console.WriteLine(logfile2.Length > 1 ? File.ReadAllText(logfile2[1]) : "No log file found"); Console.WriteLine("**************************************************************************************************"); } } @@ -116,8 +118,10 @@ namespace Microsoft.DotNet.Cli.Test.Tests Console.WriteLine("**********************************Xunit Vstest.console Log****************************************************************"); Console.WriteLine(File.ReadAllText(logfile1)); - Console.WriteLine("**********************************Xunit TestHost Log****************************************************************"); + Console.WriteLine("**********************************Xunit TestHost Log1****************************************************************"); Console.WriteLine(logfile2.Length > 0 ? File.ReadAllText(logfile2[0]) : "No log file found"); + Console.WriteLine("**********************************Xunit TestHost Log2****************************************************************"); + Console.WriteLine(logfile2.Length > 1 ? File.ReadAllText(logfile2[1]) : "No log file found"); Console.WriteLine("**************************************************************************************************"); } }