M
Michael Champigny
Hello,
I'm running into what may be a limitation of Ant's <exec> task.
I'd like to automate the running of my unit tests (note: I'm not using JUnit).
I can run each unit test with the <exec> task:
<target name="run">
<exec executable="test1"/>
</target>
But I'd like to wildcard the value of the executable parameter so that I can
run all executables with a filename prefix of "test":
<target name="run">
<exec executable="test*"/>
</target>
This doesn't work. Is there a way to get around this? Note that these
executables are C++ images, not Java bytecode. I'm using Ant with cpptasks.
Thanks,
Michael
I'm running into what may be a limitation of Ant's <exec> task.
I'd like to automate the running of my unit tests (note: I'm not using JUnit).
I can run each unit test with the <exec> task:
<target name="run">
<exec executable="test1"/>
</target>
But I'd like to wildcard the value of the executable parameter so that I can
run all executables with a filename prefix of "test":
<target name="run">
<exec executable="test*"/>
</target>
This doesn't work. Is there a way to get around this? Note that these
executables are C++ images, not Java bytecode. I'm using Ant with cpptasks.
Thanks,
Michael