diff options
author | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-03-07 12:40:39 -0500 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-03-07 12:40:39 -0500 |
commit | eb3df7fda4b84ccc6567419344b78fea5205ff50 (patch) | |
tree | f25b7a3780b9853f2e354d8b96bdaea2364041f4 /bundles/org.eclipse.swt/buildSWT.xml | |
parent | 9b9474fc15b6511dc03f148c68f37aa894829bf2 (diff) | |
download | eclipse.platform.swt-eb3df7fda4b84ccc6567419344b78fea5205ff50.tar.gz eclipse.platform.swt-eb3df7fda4b84ccc6567419344b78fea5205ff50.tar.xz eclipse.platform.swt-eb3df7fda4b84ccc6567419344b78fea5205ff50.zip |
s390 check machines does not fail when machines are down
Diffstat (limited to 'bundles/org.eclipse.swt/buildSWT.xml')
-rw-r--r-- | bundles/org.eclipse.swt/buildSWT.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/buildSWT.xml b/bundles/org.eclipse.swt/buildSWT.xml index b1db70354d..74379ba1a3 100644 --- a/bundles/org.eclipse.swt/buildSWT.xml +++ b/bundles/org.eclipse.swt/buildSWT.xml @@ -367,10 +367,16 @@ <property name="success_msg" value="Success"/> <property name="fail_msg" value="*** Fail ***"/> <condition property="m_linux_s390x_test" value="${success_msg}" else="${fail_msg}"> - <matches pattern="x${m_linux_s390x_output}*" string="x${m_linux_s390x}"/> + <and> + <length string="${m_linux_s390x_output}" when="greater" length="0"/> + <matches pattern="x${m_linux_s390x_output}*" string="x${m_linux_s390x}"/> + </and> </condition> <condition property="m_linux_s390_test" value="${success_msg}" else="${fail_msg}"> - <matches pattern="x${m_linux_s390_output}*" string="x${m_linux_s390}"/> + <and> + <length string="${m_linux_s390_output}" when="greater" length="0"/> + <matches pattern="x${m_linux_s390_output}*" string="x${m_linux_s390}"/> + </and> </condition> <echo>-------------------------</echo> <echo>Status:</echo> |