From edf8758cbac5ff622370778ca3821b257aa70acc Mon Sep 17 00:00:00 2001 From: wisberg Date: Sat, 31 May 2003 07:24:42 +0000 Subject: [PATCH] better info/debug strings when JavaRun fails (also when status fails, not just when command fails) --- testing/src/org/aspectj/testing/harness/bridge/JavaRun.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/src/org/aspectj/testing/harness/bridge/JavaRun.java b/testing/src/org/aspectj/testing/harness/bridge/JavaRun.java index a636945d6..718a423d2 100644 --- a/testing/src/org/aspectj/testing/harness/bridge/JavaRun.java +++ b/testing/src/org/aspectj/testing/harness/bridge/JavaRun.java @@ -132,7 +132,7 @@ public class JavaRun implements IAjcRun { ? runInOtherVM(status, libs, dirs) : runInSameVM(status, libs, dirs); } finally { - if (!completedNormally) { + if (!completedNormally || !status.runResult()) { MessageUtil.info(status, spec.toLongString()); MessageUtil.info(status, "sandbox: " + sandbox); } -- 2.39.5