From: wisberg Date: Sat, 31 May 2003 07:24:42 +0000 (+0000) Subject: better info/debug strings when JavaRun fails X-Git-Tag: V1_1_0~30 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=edf8758cbac5ff622370778ca3821b257aa70acc;p=aspectj.git better info/debug strings when JavaRun fails (also when status fails, not just when command fails) --- 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); }