Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez Gual <lluis@xamarin.com>2017-02-15 15:56:01 +0300
committerLluis Sanchez Gual <lluis@xamarin.com>2017-02-15 15:56:01 +0300
commitd550dd52a3ba754d6af49ceead381f8bb2723ff6 (patch)
tree7164ce027fbe7d148cdb267effbf6a9d1d945699 /Testing/MacTestRunner
parent4fe2e6358e14c4dfde523a14329da5ca1a8a15f1 (diff)
Allow running the unit tests without the image verifier
Diffstat (limited to 'Testing/MacTestRunner')
-rw-r--r--Testing/MacTestRunner/Main.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/Testing/MacTestRunner/Main.cs b/Testing/MacTestRunner/Main.cs
index 5553e793..573d1e24 100644
--- a/Testing/MacTestRunner/Main.cs
+++ b/Testing/MacTestRunner/Main.cs
@@ -16,8 +16,13 @@ namespace MacTest
list.Add ("-nothread");
// if (!list.Contains (typeof (MainClass).Assembly.Location))
// list.Add (typeof (MainClass).Assembly.Location);
+
+ bool skipImageVerification = list.Remove ("-no-image-verify");
+
NUnit.ConsoleRunner.Runner.Main (list.ToArray ());
- ReferenceImageManager.ShowImageVerifier ();
+
+ if (!skipImageVerification)
+ ReferenceImageManager.ShowImageVerifier ();
}
}
}