diff options
Diffstat (limited to 'releng/build-scripts/build/run.xml')
-rw-r--r-- | releng/build-scripts/build/run.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/releng/build-scripts/build/run.xml b/releng/build-scripts/build/run.xml index 5d1b9c8e3..7da4b2210 100644 --- a/releng/build-scripts/build/run.xml +++ b/releng/build-scripts/build/run.xml @@ -163,6 +163,11 @@ path to map file (with substitutions): <antcall target="runOTDTTests" /> </target> + <target name="ot-junit-run-onlyone" depends="setupProperties,checkOS" description="Run OT tests without building"> + <echo message="Starting Testrun ${test.root.dir}"/> + <antcall target="runOnlyoneTests" /> + </target> + <!-- =================== END Public Targets ==================== --> <!-- === Setup Targets: === --> @@ -366,6 +371,21 @@ path to map file (with substitutions): </ant> </target> + <target name="runOnlyoneTests" description="Delegate to the next level script to perform the actual testing."> + <ant antfile="${OTScriptDir}/test.xml" target="onlyone" dir="${build.root.dir}"> + <property name="os" value="${os}" /> + <property name="ws" value="${ws}" /> + <property name="arch" value="${arch}" /> + <property name="baseos" value="${os}" /> + <property name="basews" value="${ws}" /> + <property name="basearch" value="${arch}" /> + <property name="otdtUpdatesDir" value="${otdtUpdatesDir}" /> + <property name="testsUpdatesDirBase" value="${testsUpdatesDirBase}" /> + <property name="test.tmpDir" value="${test.tmpDir}"/> + <property name="vmargs" value="${vmargs}" /> + </ant> + </target> + <!-- currently unused target name="collectResults"> <ant target="collect" antfile="${test.root.dir}/library.xml" dir="${otresults}"> <property name="includes" value="org.*.xml"/> |