[xharness] Use LogFile instead of ResultFile in macOS BCL tests to match the Touch.Client usage.
This commit is contained in:
Родитель
09edb8558d
Коммит
62719b6f7b
|
@ -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}");
|
||||
|
|
Загрузка…
Ссылка в новой задаче