diff ffp_macros.xml @ 0:eb6e5e78a066 draft

Uploaded
author damion
date Mon, 23 Feb 2015 18:25:25 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ffp_macros.xml	Mon Feb 23 18:25:25 2015 -0500
@@ -0,0 +1,21 @@
+<macros>
+
+    <xml name="stdio">
+        <stdio>
+            <!-- Anything other than zero is an error -->
+            <exit_code range="1:" />
+            <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>
+
+    <xml name="requirements">
+        <requirements>
+            <requirement type="binary">@BINARY@</requirement>
+        </requirements>
+        <version_command interpreter="python">@BINARY@ --version</version_command>
+    </xml>
+
+</macros>
\ No newline at end of file