diff macros.xml @ 4:c8a188ea46d5 draft

Uploaded
author iuc
date Wed, 29 Apr 2015 12:07:23 -0400
parents 1d0f1274d999
children bb97dd7d11d5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/macros.xml	Wed Apr 29 12:07:23 2015 -0400
@@ -0,0 +1,18 @@
+<macros>
+    <xml name="requirements">
+        <requirements>
+            <requirement type="package" version="1.5.2">abyss</requirement>
+            <yield/>
+        </requirements>
+        <version_command>ABYSS --version | head -n 1</version_command>
+    </xml>
+    <xml name="stdio">
+        <stdio>
+            <!-- Anything other than zero is an error -->
+            <exit_code range="1:" />
+            <!-- In case the return code has not been set propery check stderr too -->
+            <regex match="Error:" />
+            <regex match="Exception:" />
+        </stdio>
+    </xml>
+</macros>