You've already forked linux-packaging-mono
Imported Upstream version 4.3.2.467
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
@@ -97,6 +97,8 @@ namespace NUnit.ConsoleRunner
|
||||
testFilter = new AndFilter( testFilter, excludeFilter );
|
||||
}
|
||||
|
||||
testFilter = BabysitterSupport.AddBabysitterFilter(testFilter);
|
||||
|
||||
TestResult result = null;
|
||||
string savedDirectory = Environment.CurrentDirectory;
|
||||
TextWriter savedOut = Console.Out;
|
||||
@@ -158,7 +160,7 @@ namespace NUnit.ConsoleRunner
|
||||
//if ( testRunner != null )
|
||||
// testRunner.Unload();
|
||||
|
||||
if ( collector.HasExceptions )
|
||||
if ( result == null || collector.HasExceptions )
|
||||
{
|
||||
collector.WriteExceptions();
|
||||
return UNEXPECTED_ERROR;
|
||||
|
||||
@@ -98,6 +98,8 @@ namespace NUnit.ConsoleRunner
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BabysitterSupport.RecordFailedTest(currentTestName);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user