[xharness] Don't try to execute an empty collection of tests. Fixes xamarin/maccore#600. (#3600)

Fixes https://github.com/xamarin/maccore/issues/600.
This commit is contained in:
Rolf Bjarne Kvinge 2018-02-26 17:36:05 +01:00 коммит произвёл GitHub
Родитель a2676ba064
Коммит 346051c5e3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 5 добавлений и 0 удалений

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

@ -3402,6 +3402,11 @@ function oninitialload ()
protected override async Task ExecuteAsync ()
{
if (Tasks.All ((v) => v.Ignored)) {
ExecutionResult = TestExecutingResult.Ignored;
return;
}
// First build everything. This is required for the run simulator
// task to properly configure the simulator.
build_timer.Start ();