| | 738 | <target name ="testNative" depends="cleanCache, compile" |
| | 739 | description="Test the native code generator"> |
| | 740 | <mkdir dir="${test.results}"/> |
| | 741 | <mkdir dir="${basedir}/test-tmp" /> |
| | 742 | <junit printsummary="on" |
| | 743 | haltonerror="off" |
| | 744 | haltonfailure="off" |
| | 745 | showoutput="yes" |
| | 746 | fork="true" |
| | 747 | maxmemory="${junitMem}" |
| | 748 | errorProperty="tests.failed" |
| | 749 | failureProperty="tests.failed"> |
| | 750 | <classpath refid="compile.classpath"/> |
| | 751 | <jvmarg value="-Djava.io.tmpdir=${basedir}/test-tmp" /> |
| | 752 | <formatter type="plain" usefile="true"/> |
| | 753 | <batchtest fork="true" todir="${test.results}"> |
| | 754 | <fileset dir="${build}"> |
| | 755 | <include name="**/WrapperGeneratorJUTest.class"/> |
| | 756 | </fileset> |
| | 757 | </batchtest> |
| | 758 | </junit> |
| | 759 | <delete dir="${basedir}/test-tmp" /> |
| | 760 | <fail message="Tests expected to pass are failing!" if="tests.failed"/> |
| | 761 | </target> |
| | 762 | |