[xharness] No need to prepare the simulator more than once.

This commit is contained in:
Rolf Bjarne Kvinge 2016-06-07 18:59:02 +02:00
Родитель 3d5455b54c
Коммит 969f2d7ca1
1 изменённых файлов: 5 добавлений и 0 удалений

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

@ -245,8 +245,13 @@ namespace xharness
}
}
bool simulator_prepared;
public void PrepareSimulator ()
{
if (simulator_prepared)
return;
simulator_prepared = true;
if (SkipSimulatorSetup) {
AgreeToPrompts (false);
Harness.Log (0, "Simulator setup skipped.");