[xharness] Add crash reports to a logs collection we care about. (#8690)

Add crash reports to a logs collection we care about, instead of to a logs
collection that's promptly forgotten.

This makes sure crash reports actually show up in the html report.
This commit is contained in:
Rolf Bjarne Kvinge 2020-05-27 15:27:32 +02:00 коммит произвёл GitHub
Родитель 732847bd85
Коммит a3516c33aa
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 1 добавлений и 3 удалений

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

@ -273,9 +273,7 @@ namespace Xharness {
// object that will take care of capturing and parsing the results
ILog runLog = MainLog;
var crashLogs = new Logs (Logs.Directory);
ICrashSnapshotReporter crashReporter = snapshotReporterFactory.Create (MainLog, crashLogs, isDevice: !isSimulator, deviceName);
ICrashSnapshotReporter crashReporter = snapshotReporterFactory.Create (MainLog, Logs, isDevice: !isSimulator, deviceName);
var testReporterTimeout = TimeSpan.FromMinutes (harness.Timeout * timeoutMultiplier);
var testReporter = testReporterFactory.Create (MainLog,