From 969f2d7ca11e800f49645781baa91985dbeff5de Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Tue, 7 Jun 2016 18:59:02 +0200 Subject: [PATCH] [xharness] No need to prepare the simulator more than once. --- tests/xharness/AppRunner.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/xharness/AppRunner.cs b/tests/xharness/AppRunner.cs index 5a71e42023..9228eff6b2 100644 --- a/tests/xharness/AppRunner.cs +++ b/tests/xharness/AppRunner.cs @@ -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.");