Mercurial > hg > truffle
view visualizer/build.xml @ 8340:d9d883aeb96f
unittest: seperate target `longunittest' and `shortunittest'
There are some unittests which took a quite long time, e.g. Test6850611 takes
about 16seconds on my machine. We want them to shift into a seperate mx target.
In order to move a testcase to `longunittest' you have to replace all `@Test'
with `@LongTest' in the testclass.
`@Test' belongs to `shortunittest'. The target `unittest` executes both,
`@Test' and `@LongTest'.
Note: Mixing `@Test' and `@LongTest' in a testclass, causes that each testmethod
is executed for both, `shortunittest' and `longunittest', mx targets.
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Thu, 14 Mar 2013 19:07:42 +0100 |
parents | ab4a47b6a187 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <!-- You may freely edit this file. See harness/README in the NetBeans platform --> <!-- for some information on what you could do (e.g. targets to override). --> <!-- If you delete this file and reopen the project it will be recreated. --> <project name="Graal Visualizer" basedir="."> <description>Builds the module suite Graal Visualizer.</description> <import file="nbproject/build-impl.xml"/> <target name="build-launchers" depends="suite.build-launchers"> <!-- Drop memory presets (-Xms, -Xmx) from default_options of packaged builds and let the executing VM choose reasonable defaults --> <replaceregexp file="${build.launcher.dir}/etc/${app.name}.conf" byline="true" match="^default_options=.*" replace='default_options="--branding graalvisualizer"' /> </target> <!-- Local (environment-specific) extensions/modifications to the build --> <import file="build-local.xml" optional="true" /> </project>