mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
Prepare for automated nightly tests
This commit is contained in:
parent
051ba6c466
commit
4bb57c4d4c
1 changed files with 15 additions and 12 deletions
|
@ -9,7 +9,7 @@ Needs to be updated and tested for org.eclipse.rse
|
|||
<project name="testsuite" default="run" basedir=".">
|
||||
<!-- The property ${eclipse-home} should be passed into this script -->
|
||||
<!-- Set a meaningful default value for when it is not. -->
|
||||
<property name="eclipse-home" value="${basedir}\..\.."/>
|
||||
<property name="eclipse-home" value="${basedir}/../../"/>
|
||||
|
||||
<!-- sets the properties eclipse-home, and library-file -->
|
||||
<property name="plugin-name" value="org.eclipse.rse.tests"/>
|
||||
|
@ -27,12 +27,12 @@ Needs to be updated and tested for org.eclipse.rse
|
|||
|
||||
<!-- This target defines the tests that need to be run. -->
|
||||
<target name="suite">
|
||||
<property name="test-folder" value="${eclipse-home}/ui_iseriestests_folder"/>
|
||||
<delete dir="${test-folder}" quiet="true"/>
|
||||
<property name="location" value="${eclipse-home}/rse_test_workspace"/>
|
||||
<delete dir="${location}" quiet="true"/>
|
||||
<ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
|
||||
<property name="data-dir" value="${test-folder}"/>
|
||||
<property name="data-dir" value="${location}"/>
|
||||
<property name="plugin-name" value="${plugin-name}"/>
|
||||
<property name="classname" value="org.eclipse.rse.tests.SampleTestSuite"/>
|
||||
<property name="classname" value="org.eclipse.rse.tests.RSECombinedTestSuite"/>
|
||||
</ant>
|
||||
|
||||
<!-- Commented out until source of problem found (not reusing same workspace dir)
|
||||
|
@ -65,17 +65,16 @@ Needs to be updated and tested for org.eclipse.rse
|
|||
<property name="classname"
|
||||
value="org.eclipse.jface.tests.viewers.AllTests"/>
|
||||
</ant>
|
||||
-->
|
||||
|
||||
</target>
|
||||
|
||||
<!-- This target holds code to cleanup the testing environment after -->
|
||||
<!-- after all of the tests have been run. You can use this target to -->
|
||||
<!-- delete temporary files that have been created. -->
|
||||
<!-- This target holds code to cleanup the testing environment after the tests -->
|
||||
<!-- have been run. You can use this to delete temporary files that are created. -->
|
||||
<target name="cleanup">
|
||||
</target>
|
||||
|
||||
<!-- This target runs the test suite. Any actions that need to happen -->
|
||||
<!-- after all the tests have been run should go here. -->
|
||||
<!-- This target runs the test suite. Any actions that need to happen after all -->
|
||||
<!-- the tests have been run should go here. -->
|
||||
<target name="run" depends="init,suite,cleanup">
|
||||
<ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
|
||||
<property name="includes" value="org.eclipse.rse.*.xml"/>
|
||||
|
@ -83,4 +82,8 @@ Needs to be updated and tested for org.eclipse.rse
|
|||
</ant>
|
||||
</target>
|
||||
|
||||
<!-- This target runs the performance test suites. -->
|
||||
<target name="performance">
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
|
Loading…
Add table
Reference in a new issue