]> source.dussan.org Git - aspectj.git/commitdiff
better info/debug strings when JavaRun fails
authorwisberg <wisberg>
Sat, 31 May 2003 07:24:42 +0000 (07:24 +0000)
committerwisberg <wisberg>
Sat, 31 May 2003 07:24:42 +0000 (07:24 +0000)
(also when status fails, not just when command fails)

testing/src/org/aspectj/testing/harness/bridge/JavaRun.java

index a636945d6347671589b4fae707d1693d49dd6c6d..718a423d23c9f5f2fe9d6d82b635135f49a0974c 100644 (file)
@@ -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);
             }