My favorites | Sign in
Logo
                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh
# @version $Revision$ ($Author$) $Date$
#
. ./tck-environment.sh
if [ ! "$?" = "0" ]; then
echo Error calling tck-environment.sh
exit 1
fi

if [ ! -d "${MICROEMULATOR_HOME}" ] ; then
echo "Invalid Microemulator directory ${MICROEMULATOR_HOME}"
exit 1
fi

if [ ! -f "${MICROEMULATOR_HOME}/microemulator.jar" ] ; then
echo "Microemulator jar not found in directory ${MICROEMULATOR_HOME}"
exit 1
fi

if [ ! -f "${BLUECOVE_GPL_JAR}" ] ; then
echo "BlueCove-GPL not found ${BLUECOVE_GPL_JAR}"
exit 1
fi

BLUECOVE_TCK_CP="${MICROEMULATOR_HOME}/microemulator.jar"
BLUECOVE_TCK_CP="${BLUECOVE_TCK_CP}:${BLUECOVE_JAR}:${BLUECOVE_GPL_JAR}"

JVM_ARGS=$*
#JVM_ARGS="${JVM_ARGS} -Dbluecove.debug=1"

java -cp "${BLUECOVE_TCK_CP}" ${JVM_ARGS} ${MICROEMULATOR_MAIN} ${MICROEMULATOR_ARGS} -Xautotest:http://${BLUECOVE_TCK_HOST}:${BLUECOVE_TCK_PORT}/getNextApp.jad | tee tck_test-gpl.log
rc=$?
if [ ! "${rc}" = "0" ]; then
echo Error calling java
echo Prsess enter to exit
read
fi
Show details Hide details

Change log

r2954 by skarzhevskyy on Mar 22, 2009   Diff
pass JVM arguments from command line
Go to: 
Project members, sign in to write a code review

Older revisions

r2951 by skarzhevskyy on Mar 21, 2009   Diff
debug Exception
r2949 by skarzhevskyy on Mar 21, 2009   Diff
debug off
r2946 by skarzhevskyy on Mar 21, 2009   Diff
Create log file during TCK tests
All revisions of this file

File info

Size: 1006 bytes, 37 lines

File properties

svn:eol-style
LF
svn:executable
*
svn:keywords
Date Author Id Revision
Hosted by Google Code