diff options
author | Lluis Sanchez Gual <lluis@xamarin.com> | 2017-02-15 15:56:01 +0300 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@xamarin.com> | 2017-02-15 15:56:01 +0300 |
commit | d550dd52a3ba754d6af49ceead381f8bb2723ff6 (patch) | |
tree | 7164ce027fbe7d148cdb267effbf6a9d1d945699 /Testing/MacTestRunner | |
parent | 4fe2e6358e14c4dfde523a14329da5ca1a8a15f1 (diff) |
Allow running the unit tests without the image verifier
Diffstat (limited to 'Testing/MacTestRunner')
-rw-r--r-- | Testing/MacTestRunner/Main.cs | 7 |
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 (); } } } |