[xharness] Use LogFile instead of ResultFile in macOS BCL tests to match the Touch.Client usage.

This commit is contained in:
Rolf Bjarne Kvinge 2020-07-31 15:25:42 +02:00
Родитель 09edb8558d
Коммит 62719b6f7b
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -55,11 +55,11 @@ namespace Xamarin.Mac.Tests
}
await runner.Run (testAssemblies).ConfigureAwait (false);
if (options.ResultFile != null) {
using (var writer = new StreamWriter (options.ResultFile)) {
if (options.LogFile != null) {
using (var writer = new StreamWriter (options.LogFile)) {
runner.WriteResultsToFile (writer, TestRunner.Jargon.NUnitV3);
}
logger.Info ($"Xml result can be found {options.ResultFile}");
logger.Info ($"Xml result can be found {options.LogFile}");
}
logger.Info ($"Tests run: {runner.TotalTests} Passed: {runner.PassedTests} Inconclusive: {runner.InconclusiveTests} Failed: {runner.FailedTests} Ignored: {runner.FilteredTests}");