Commit 44d67156 authored by ungpk's avatar ungpk
Browse files

only try to show output if the test failed

parent 735fd2a6
...@@ -192,7 +192,7 @@ public abstract class TestBase { ...@@ -192,7 +192,7 @@ public abstract class TestBase {
} }
} }
if (showAllProgramOutput && !Terminal.OUT_TEST.isEmpty()) { if (showAllProgramOutput && !testPassed && !Terminal.OUT_TEST.isEmpty()) {
System.out.println("The output after that was:"); System.out.println("The output after that was:");
while (!Terminal.OUT_TEST.isEmpty()) { while (!Terminal.OUT_TEST.isEmpty()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment