<?xml version="1.0"?>

<project name="parallel-test" basedir="." default="help">
  <target name="testBasic">
    <parallel>
      <sequential>
        <sleep seconds="1"/>
        <echo message="${test.delayed}"/>
      </sequential>
      <echo message="${test.direct}"/>
    </parallel>
  </target>

  <target name="testFail">
    <parallel>
      <sequential>
        <sleep seconds="1"/>
        <echo message="${test.delayed}"/>
      </sequential>
      <fail message="${test.failure}"/>
    </parallel>
  </target>

  <target name="testDemux">
    <parallel>
      <demuxtest/>
      <demuxtest/>
      <demuxtest/>
      <demuxtest/>
      <demuxtest/>
    </parallel>
  </target>
  
  <target name="help">
    <echo>Test build file for the &lt;parallel&gt; task.</echo> 
    <echo>Use the various targets to run the tests.</echo>
  </target>
</project>
