diff options
Diffstat (limited to 'src/framework/GuiUnit/TestRunner.cs')
-rw-r--r-- | src/framework/GuiUnit/TestRunner.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/framework/GuiUnit/TestRunner.cs b/src/framework/GuiUnit/TestRunner.cs index 3950cf3..0e921be 100644 --- a/src/framework/GuiUnit/TestRunner.cs +++ b/src/framework/GuiUnit/TestRunner.cs @@ -238,6 +238,7 @@ namespace GuiUnit catch (FileNotFoundException ex) { writer.WriteLine(ex.Message); + ExitCode = 1; } catch (Exception ex) { @@ -272,6 +273,7 @@ namespace GuiUnit BeforeShutdown (null, EventArgs.Empty); } catch (Exception ex) { Console.WriteLine ("Unexpected error during `BeforeShutdown`: {0}", ex); + ExitCode = 1; } finally { MainLoop.Shutdown (); } |