diff options
author | Oleg Besedin | 2008-03-06 20:55:40 +0000 |
---|---|---|
committer | Oleg Besedin | 2008-03-06 20:55:40 +0000 |
commit | b4be32d59721fbb396484a3998b0ea75b7dbae44 (patch) | |
tree | 9bbec12f2493f5d2519ed45afb1c1e30fe2f74d1 /bundles/org.eclipse.equinox.security.tests/test.xml | |
parent | 83b19165f48952880f9883dd412b5894a9fef2db (diff) | |
download | rt.equinox.bundles-b4be32d59721fbb396484a3998b0ea75b7dbae44.tar.gz rt.equinox.bundles-b4be32d59721fbb396484a3998b0ea75b7dbae44.tar.xz rt.equinox.bundles-b4be32d59721fbb396484a3998b0ea75b7dbae44.zip |
Bug 220818 Add graduated security bundles to the build
Diffstat (limited to 'bundles/org.eclipse.equinox.security.tests/test.xml')
-rw-r--r-- | bundles/org.eclipse.equinox.security.tests/test.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.security.tests/test.xml b/bundles/org.eclipse.equinox.security.tests/test.xml new file mode 100644 index 000000000..477105de7 --- /dev/null +++ b/bundles/org.eclipse.equinox.security.tests/test.xml @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<project name="Equinox Security Automated Tests" default="run" basedir="."> + + <!-- The property ${eclipse-home} should be passed into this script --> + <!-- sets the properties eclipse-home, and library-file --> + <property name="eclipse-home" value="${basedir}/../../"/> + <property name="library-file" value="${eclipse-home}/plugins/org.eclipse.test/library.xml"/> + <property name="runtime_location" value="${eclipse-home}/equinox_security_temp_folder"/> + <property name="plugin-name" value="org.eclipse.equinox.security.tests"/> + + <!-- This target holds all initialization code that needs to be done for --> + <!-- all tests that are to be run. Initialization for individual tests --> + <!-- should be done within the body of the suite target. --> + <target name="init"> + <tstamp/> + </target> + + <!-- 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"> + <delete dir="${runtime_location}" quiet="true"/> + </target> + + <!-- This target defines the tests that need to be run. --> + <target name="suite" depends="init,cleanup"> + <ant target="equinox-security-test" antfile="${library-file}" dir="${eclipse-home}"> + <property name="data-dir" value="${runtime_location}"/> + <property name="plugin-name" value="org.eclipse.equinox.security.tests"/> + <property name="classname" value="org.eclipse.equinox.security.tests.AllSecurityTests"/> + </ant> + </target> + + <!-- 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*.xml"/> + <property name="output-file" value="${plugin-name}.xml"/> + </ant> + </target> + + </project> |