Skip to content

Commit 545ac67

Browse files
EcljpseB0Tjukzi
authored andcommitted
TestRunLogUtil: add stacktrace to stdout
Otherwise it's hard to tell which test failed when/first if errors are collected in other logfiles only.
1 parent 78c9a1c commit 545ac67

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/util/TestRunLogUtil.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ protected void starting(Description description) {
4040
System.out.println(formatTestStartMessage(description.getMethodName()));
4141
}
4242

43+
@Override
44+
protected void failed(Throwable e, Description description) {
45+
System.out.println(description.getMethodName() + " failed:");
46+
e.printStackTrace(System.out);
47+
}
48+
4349
@Override
4450
protected void finished(Description description) {
4551
System.out.println(formatTestFinishedMessage(description.getMethodName()));

0 commit comments

Comments
 (0)