diff options
-rw-r--r-- | Testing/GtkTestRunner/Main.cs | 7 | ||||
-rw-r--r-- | Testing/MacTestRunner/Main.cs | 7 | ||||
-rw-r--r-- | Testing/WpfTestRunner/Program.cs | 7 |
3 files changed, 18 insertions, 3 deletions
diff --git a/Testing/GtkTestRunner/Main.cs b/Testing/GtkTestRunner/Main.cs index 6dc4b09c..453a140c 100644 --- a/Testing/GtkTestRunner/Main.cs +++ b/Testing/GtkTestRunner/Main.cs @@ -41,8 +41,13 @@ namespace GtkTestRunner 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 (); } } } 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 (); } } } diff --git a/Testing/WpfTestRunner/Program.cs b/Testing/WpfTestRunner/Program.cs index 9128e2dc..6a773f23 100644 --- a/Testing/WpfTestRunner/Program.cs +++ b/Testing/WpfTestRunner/Program.cs @@ -17,8 +17,13 @@ namespace WpfTestRunner list.Add ("-nothread"); if (!list.Contains (typeof (Program).Assembly.Location)) list.Add (typeof (Program).Assembly.Location); + + bool skipImageVerification = list.Remove ("-no-image-verify"); + NUnit.ConsoleRunner.Runner.Main (list.ToArray ()); - ReferenceImageManager.ShowImageVerifier (); + + if (!skipImageVerification) + ReferenceImageManager.ShowImageVerifier (); } } } |