diff options
author | Alan McGovern <alan.mcgovern@gmail.com> | 2017-02-27 06:19:47 +0300 |
---|---|---|
committer | Alan McGovern <alan.mcgovern@gmail.com> | 2017-02-27 06:19:54 +0300 |
commit | 3a445806895aa25a17d887cbfcddea86e8e14809 (patch) | |
tree | c5dc218f2976f1182832a313b4f79050d02deab1 | |
parent | f1b9f939acdd72bf481eb5697fd9838fd1ba2464 (diff) |
Revert "[GuiUnit] Just exit when the tests are finished"
This reverts commit f1b9f939acdd72bf481eb5697fd9838fd1ba2464.
This didn't help, so let's just try to fix the actual problem
-rw-r--r-- | src/framework/GuiUnit/TestRunner.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/framework/GuiUnit/TestRunner.cs b/src/framework/GuiUnit/TestRunner.cs index 189e8db..56da295 100644 --- a/src/framework/GuiUnit/TestRunner.cs +++ b/src/framework/GuiUnit/TestRunner.cs @@ -69,7 +69,6 @@ namespace GuiUnit public static int Main (string[] args) { new TestRunner ().Execute (args); - Environment.Exit (ExitCode); return ExitCode; } @@ -346,7 +345,7 @@ namespace GuiUnit private void RunTests(ITestFilter filter) { ITestResult result = runner.Run(this, filter); - ExitCode = Math.Min (result.FailCount, 255); + ExitCode = result.FailCount; new ResultReporter(result, writer).ReportResults(); if (commandLineOptions.ResultFile != null) { |