1402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll############################################################################### 2402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll# Copyright (c) 2000, 2004 IBM Corporation and others. 3402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll# All rights reserved. This program and the accompanying materials 4402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll# are made available under the terms of the Eclipse Public License v1.0 5402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll# which accompanies this distribution, and is available at 6402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll# http://www.eclipse.org/legal/epl-v10.html 7402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll# 8402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll# Contributors: 9402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll# IBM Corporation - initial API and implementation 10402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll############################################################################### 11402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#target to call in test.xml: runtests-local|runtests-remote 12402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael MolltestTarget=runtests-local 13402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll 14402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#directory where automated testing framework will be installed 15402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael MolltestDir=${testBase}/${buildLabel} 16402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll 17402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#name of zip file containing automated testing framework and JUnit test plug-ins 18402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael MolltestFramework=VE-Automated-Tests-${buildId}.zip 19402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll 20402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#name of runtime to install and test 21402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Mollruntime=VE-SDK-${buildId}.zip 22402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll 23402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#directory where test scripts are launched 24402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael MollexecutionDir=${testDir}/ve-testing 25402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll 26402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#eclipse platforms: win32 | linux-motif | linux-gtk | aix-motif | hpux-motif |solaris-motif 27402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Mollplatform=win32 28402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll 29402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#name of file that captures console output from running JUnit plug-in tests 30402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Mollconsolelog=win32_consolelog.txt 31402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll 32402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#executable used to launch testing 33402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael MolltestExecutable=cmd 34402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll 35402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#arguments to ${testExecutable} 36402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Mollargs=/c ${executionDir}/runtests.bat win32_consolelog.txt 37402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll 38402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#URL to vm used to run tests 39402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael MollvmUrl= 40402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll 41402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#name and path to downloaded vm. 42402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael MollvmDest=${testBase}/testVmWin.zip 43402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll 44402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#executable used to install downloaded vm 45402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael MollvmInstallExecutable=unzip 46402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll 47402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#arguments to ${vmInstallExecutable} 48402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael MollvmInstallCommand=-o -qq ${vmDest} 49402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll 50402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#Ant property to set if vm installation not required 51402794e73aed8611d62eb4b01cd155e2d76fcb87Raphael Moll#skipVmInstall=true 52