aboutsummaryrefslogtreecommitdiff
path: root/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testConfigs/testingConfigTemplate
diff options
context:
space:
mode:
Diffstat (limited to 'basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testConfigs/testingConfigTemplate')
-rw-r--r--basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testConfigs/testingConfigTemplate/customTest.xml15
-rw-r--r--basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testConfigs/testingConfigTemplate/runtests.bat4
-rw-r--r--basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testConfigs/testingConfigTemplate/testing.properties51
3 files changed, 70 insertions, 0 deletions
diff --git a/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testConfigs/testingConfigTemplate/customTest.xml b/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testConfigs/testingConfigTemplate/customTest.xml
new file mode 100644
index 0000000..8b991b2
--- /dev/null
+++ b/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testConfigs/testingConfigTemplate/customTest.xml
@@ -0,0 +1,15 @@
+<project name="Customized testing instructions" default="noDefault">
+
+ <target name="customSetup">
+ <!--copy the script which invokes the tests -->
+ <copy file="${tester}/runtests.bat" todir="${executionDir}" />
+
+ <!--copy the runtimes to install for testing, excluding the JUnit plug-in tests-->
+ <copy file="${buildDirectory}/${buildLabel}/VE-runtime-${buildId}.zip" todir="${executionDir}" />
+ <copy file="${buildDirectory}/../emf.zip" todir="${executionDir}" />
+ <copy file="${buildDirectory}/../gef.zip" todir="${executionDir}" />
+ <copy file="${buildDirectory}/../eclipse-SDK.zip" todir="${executionDir}" />
+ </target>
+
+ <target name="noDefault"/>
+</project> \ No newline at end of file
diff --git a/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testConfigs/testingConfigTemplate/runtests.bat b/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testConfigs/testingConfigTemplate/runtests.bat
new file mode 100644
index 0000000..6c73b28
--- /dev/null
+++ b/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testConfigs/testingConfigTemplate/runtests.bat
@@ -0,0 +1,4 @@
+@echo off
+cd .
+REM run tests
+call runtests.bat -vm ..\jdk1.3.1\jre\bin\java "-Dplatform=win32" > %1 \ No newline at end of file
diff --git a/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testConfigs/testingConfigTemplate/testing.properties b/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testConfigs/testingConfigTemplate/testing.properties
new file mode 100644
index 0000000..532d71a
--- /dev/null
+++ b/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/tests/testConfigs/testingConfigTemplate/testing.properties
@@ -0,0 +1,51 @@
+###############################################################################
+# Copyright (c) 2000, 2004 IBM Corporation and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# IBM Corporation - initial API and implementation
+###############################################################################
+#target to call in test.xml: runtests-local|runtests-remote
+testTarget=runtests-local
+
+#directory where automated testing framework will be installed
+testDir=${testBase}/${buildLabel}
+
+#name of zip file containing automated testing framework and JUnit test plug-ins
+testFramework=VE-Automated-Tests-${buildId}.zip
+
+#name of runtime to install and test
+runtime=VE-SDK-${buildId}.zip
+
+#directory where test scripts are launched
+executionDir=${testDir}/ve-testing
+
+#eclipse platforms: win32 | linux-motif | linux-gtk | aix-motif | hpux-motif |solaris-motif
+platform=win32
+
+#name of file that captures console output from running JUnit plug-in tests
+consolelog=win32_consolelog.txt
+
+#executable used to launch testing
+testExecutable=cmd
+
+#arguments to ${testExecutable}
+args=/c ${executionDir}/runtests.bat win32_consolelog.txt
+
+#URL to vm used to run tests
+vmUrl=
+
+#name and path to downloaded vm.
+vmDest=${testBase}/testVmWin.zip
+
+#executable used to install downloaded vm
+vmInstallExecutable=unzip
+
+#arguments to ${vmInstallExecutable}
+vmInstallCommand=-o -qq ${vmDest}
+
+#Ant property to set if vm installation not required
+#skipVmInstall=true