mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

madiot
04.21.2009 11e0ed43bd34a7dff631b5640d0d5891ef0afadd
adding build target 'tests-specs' to generate in ${logs.dir} the functional tests specs out of the STAX XML files specs commentaries
3 files modified
19 ■■■■■ changed files
opends/tests/staf-tests/shared/ant/build.xml 5 ●●●●● patch | view | raw | blame | history
opends/tests/staf-tests/shared/ant/tests.xml 13 ●●●●● patch | view | raw | blame | history
opends/tests/staf-tests/shared/ant/usage.xml 1 ●●●● patch | view | raw | blame | history
opends/tests/staf-tests/shared/ant/build.xml
@@ -381,6 +381,11 @@
  <!-- ######### -->
  <!-- # TESTS # -->
  <!-- ######### -->
  <!-- generate tests specs -->
  <target name="tests-specs"
          depends="set-func-type,global-init">
    <ant antfile="${antfile.dir}/tests.xml" target="specs"/>
  </target>
  <target name="set-func-type">
    <property name="tests.type" value="functional-tests"/>
opends/tests/staf-tests/shared/ant/tests.xml
@@ -30,6 +30,19 @@
    Execute the tests.
  </description>
  <target name="specs">
    <javac srcdir="${shared.dir}/java/parsingtool"
           destdir="${shared.dir}/java/parsingtool"/>
    <delete dir="${logs.dir}/specs" failonerror="false"/>
    <mkdir dir="${logs.dir}/specs"/>
    <java classpath="${shared.dir}/java/parsingtool"
          classname="GenerateOpenDSTestSpecs" fork="true">
        <arg value="${tests.dir}"/>
        <arg value="${logs.dir}/specs"/>
        <arg value="xml" />
    </java>
  </target>
  <target name="run">
    <tstamp>
      <format property="tests.run.time" pattern="yyyy.MM.dd-HH.mm.ss"/>
opends/tests/staf-tests/shared/ant/usage.xml
@@ -59,6 +59,7 @@
      staf-jvmlogs            : start the STAF jvm log viewer
      --tests--
      tests-specs             : generate the functional tests specs
      tests-configure         : configure the functional tests
      tests-func-configure    : configure the functional tests
      tests-stress-configure  : configure the stress tests