changeset 301:0ce842b0ba5b

Runners: print ACCEPTABLE_INTERESTING cases in console by default.
author shade
date Fri, 24 Jun 2016 21:53:06 +0300
parents 26600b6bfb99
children 3b7412015819
files jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/ConsoleReportPrinter.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/ConsoleReportPrinter.java	Fri Jun 17 18:57:26 2016 +0300
+++ b/jcstress-core/src/main/java/org/openjdk/jcstress/infra/grading/ConsoleReportPrinter.java	Fri Jun 24 21:53:06 2016 +0300
@@ -129,7 +129,6 @@
                 } else {
                     output.println();
                     printLine("FAILED", r);
-                    isVerbose = true;
                     failed++;
                 }
                 break;
@@ -137,7 +136,7 @@
                 throw new IllegalStateException("Illegal status: " + r.status());
         }
 
-        if (isVerbose) {
+        if (!grading.isPassed || grading.hasInteresting) {
             output.format("    (fork: #%d, iteration #%d, JVM args: %s)%n",
                     r.getConfig().forkId + 1,
                     r.getIteration() + 1,