Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Webtools Releng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
webtools
Releng
Webtools Releng
Commits
f7262558
Commit
f7262558
authored
15 years ago
by
david_williams
Browse files
Options
Downloads
Patches
Plain Diff
example script to run standalone tests
parent
740a431c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
releng.wtpbuilder/distribution/wtp.tests/runtest.bat
+62
-0
62 additions, 0 deletions
releng.wtpbuilder/distribution/wtp.tests/runtest.bat
with
62 additions
and
0 deletions
releng.wtpbuilder/distribution/wtp.tests/runtest.bat
0 → 100644
+
62
−
0
View file @
f7262558
REM Example script to run standalone test on Windows
REM
@echo
off
SETLOCAL
REM These "home" directories must be accurate for your machine.
set
BUILD_HOME
=
J
:\work\runTests
set
ANT_HOME
=
J
:\work\apache
-ant
-
1
.7.0
set
JAVA_HOME
=
J
:\JDKs\ibm
-java-win
-
605
set
JAVA_6_HOME
=
J
:\JDKs\ibm
-java-win
-
605
REM standard for windows. Linux or other platforms would need to change these.
set
BASEOS
=
win32
set
BASEWS
=
win32
set
BASEARCH
=
x86
REM These 'set' commands should rarely, if ever have to be changed
REM Some are not actually used, but values are provided
REM to prevent spurious "warnings" in logs.
REM In other cases, the directory must exist before this script runs.
set
PATH
=
%ANT_HOME%
\bin
;
%JAVA_HOME%
\bin
;
%PATH%
set
BASE_BUILDERS
=
%BUILD_HOME%
\basebuilders
set
LOCAL_PREREQS_CACHE
=
%BUILD_HOME%
\prereqsCache
set
RELENG
=
webtools
.maps/releng
set
RELENG_BUILDER
=
webtools
.releng/releng.wtpbuilder
set
DISPLAY
=
localhost
:0
set
BASE_BUILDERS
=
%BUILD_HOME%
/basebuilders
set
PROJECT_BUILDERS
=
%BUILD_HOME%
/projectBuilders
set
PROJECT_PROJECTS
=
%BUILD_HOME%
/projects
set
PROJECT_TESTS
=
%BUILD_HOME%
/tests
set
RECOMMENDED_TMP_DIR
=
%BUILD_HOME%
/temp
REM the following comments apply to the -D variables provided to the ant command
REM projectname: what ever the project would is called in cruisecontrol (even though CC isn't used here)
REM build.committers: should be true if you want to download and reproduce a build from 'committers' area.
REM If working from a build on 'downloads' area, omit the variable (do not just set to false).
REM buildType: I, S, or R
REM buildId: Basically the "middle" part of a download zip or build name, such as the 3.2I in wtp-sdk-I-3.2I-20090722042933.zip
REM timestamp Basically the "end" part of a download zip or build name, such as 20090722042933 in wtp-sdk-I-3.2I-20090722042933.zip
REM build.stream (not sure if needed)
REM buildBranch Build branch used in various scripts ... usually the "middle" part of projectname, such as R3.2 in wtp-R3.2-I
REM testTarget The specific test suite(s) to run. These target names are from the test.xml file. Omit or use 'all' to run all tests.
REM -f antfile The name or path should not have to be changed, but the "releng.wtpbuilder" project must already be checked out from CVS
REM (or exported from Eclipse) into a directory named 'webtools.releng' which is immediately under the BUILD_HOME directory.
REM It is assume this batch file, then, is in the BUILD_HOME directory.
ant
-Dprojectname
=
wtp
-R
3
.2
-I
^
-Dbuild
.committers
=
true
^
-DbuildType
=
I
^
-DbuildId
=
3
.2I
^
-Dtimestamp
=
20090719171559
^
-Dbuild
.stream
=
R3
.2
^
-DbuildBranch
=
R3
.2
^
-DtestTarget
=
dali
-core-tests
^
-f
webtools
.releng\releng.wtpbuilder\distribution\wtp.tests\standaloneTest.xml
ENDLOCAL
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment