[introspection] Make sure '[FAIL]' is printed before every failure. (#2578)
This makes xharness able to list the failures in the inline summary.
This commit is contained in:
Родитель
4bc13b0ec5
Коммит
0cf7de80e2
|
@ -66,6 +66,8 @@ namespace Introspection {
|
|||
protected void AddErrorLine (string line)
|
||||
{
|
||||
error_output.AppendLine (line);
|
||||
if (!line.StartsWith ("[FAIL] ", StringComparison.Ordinal))
|
||||
Console.Error.Write ("[FAIL] ");
|
||||
Console.Error.WriteLine (line);
|
||||
Errors++;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче