<?xml version="1.0" encoding="utf-8"?>

<!--
    Name:       include/csleobuild.xml
    Purpose:    Declarations for the csleobuild slave
    Author:     Michael Wetherel, Stefan Csomor
    Copyright:  (c) Stefan Csomor
    Licence:    wxWindows licence
-->

<bot xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:xi="http://www.w3.org/2001/XInclude">

<xi:include href="unix.xml"/>

<!--
    run-tests - build step to run the test suites.
-->
<xsl:template name="run-tests">
    <xsl:param name="content"/>
    <test>
        <defaults content="{$content}">
            <description>running tests</description>
            <descriptionDone>run tests</descriptionDone>
            <warnOnFailure/>
        </defaults>
        <copy-with-defaults content="{$content}">
            <command>
                export DYLD_LIBRARY_PATH=../lib
                cd tests &amp;&amp;
                ./test -t &amp;&amp;
                open ./test_gui.app
            </command>
        </copy-with-defaults>
    </test>
</xsl:template>

</bot>
