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

github.com/mono/guiunit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/framework/GuiUnit/TestRunner.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/framework/GuiUnit/TestRunner.cs b/src/framework/GuiUnit/TestRunner.cs
index 56da295..d7d7a10 100644
--- a/src/framework/GuiUnit/TestRunner.cs
+++ b/src/framework/GuiUnit/TestRunner.cs
@@ -345,7 +345,7 @@ namespace GuiUnit
private void RunTests(ITestFilter filter)
{
ITestResult result = runner.Run(this, filter);
- ExitCode = result.FailCount;
+ ExitCode = result.FailCount > 0 ? 1 : 0;
new ResultReporter(result, writer).ReportResults();
if (commandLineOptions.ResultFile != null)
{