From 4d34f81ab35f362c086cce7b3b7bfc46c3745652 Mon Sep 17 00:00:00 2001
From: Lukas Stadler <lukas.stadler@oracle.com>
Date: Mon, 13 Jun 2016 14:05:54 +0200
Subject: [PATCH] less output on ProcessFailedTests

---
 .../com/oracle/truffle/r/test/generate/FastRSession.java  | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/generate/FastRSession.java b/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/generate/FastRSession.java
index 2676ef7402..2c955cf720 100644
--- a/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/generate/FastRSession.java
+++ b/com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/generate/FastRSession.java
@@ -268,10 +268,12 @@ public final class FastRSession implements RSession {
                     if (t instanceof RError) {
                         // nothing to do
                     } else {
-                        if (!TestBase.ProcessFailedTests && t instanceof RInternalError) {
-                            RInternalError.reportError(t);
+                        if (!TestBase.ProcessFailedTests) {
+                            if (t instanceof RInternalError) {
+                                RInternalError.reportError(t);
+                            }
+                            t.printStackTrace();
                         }
-                        t.printStackTrace();
                         killedByException = t;
                     }
                 } finally {
-- 
GitLab