Bug 508772 - [simrel] Even further simplification of build.xml

Corrected "typo" on property name.

Change-Id: I37329bce4c0941962d22682c4a93341fa39fd9e2
Signed-off-by: David Williams <david_williams@acm.org>
diff --git a/runTests.xml b/runTests.xml
index 15bd81b..9b937b3 100644
--- a/runTests.xml
+++ b/runTests.xml
@@ -122,13 +122,16 @@
       <arg line="${VM_TEST_ARGS}" />
     </exec>
 
-    <echo message="DEBUG: resultproperty: ${resultproperty}" />
+    <echo message="DEBUG: applicationResult: ${applicationResult}" />
     <condition property="failuresoccurred">
-      <not>
-        <equals
-          arg1="resultproperty"
-          arg2="0" />
-      </not>
+      <and>
+        <isset property="applicationResult" />
+        <not>
+          <equals
+            arg1="applicationResult"
+            arg2="0" />
+        </not>
+      </and>
     </condition>
       <!-- currently, we (should) never "fail" ... but, will in future -->
       <!-- need to learn how to signal "unstable" to Hudson, as opposed to outright failure. -->