Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
aa51a3fc
D
dragonwell8_hotspot
项目概览
openanolis
/
dragonwell8_hotspot
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_hotspot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
aa51a3fc
编写于
3月 28, 2013
作者:
C
collins
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
56478a90
8d7574c0
变更
18
隐藏空白更改
内联
并排
Showing
18 changed file
with
312 addition
and
382 deletion
+312
-382
make/excludeSrc.make
make/excludeSrc.make
+2
-1
test/compiler/5091921/Test6890943.sh
test/compiler/5091921/Test6890943.sh
+7
-17
test/compiler/5091921/Test7005594.sh
test/compiler/5091921/Test7005594.sh
+6
-17
test/compiler/6857159/Test6857159.sh
test/compiler/6857159/Test6857159.sh
+6
-17
test/compiler/7068051/Test7068051.sh
test/compiler/7068051/Test7068051.sh
+9
-13
test/compiler/7070134/Test7070134.sh
test/compiler/7070134/Test7070134.sh
+6
-17
test/compiler/7200264/Test7200264.sh
test/compiler/7200264/Test7200264.sh
+6
-41
test/gc/6941923/test6941923.sh
test/gc/6941923/test6941923.sh
+13
-26
test/runtime/6626217/Test6626217.sh
test/runtime/6626217/Test6626217.sh
+10
-59
test/runtime/6878713/Test6878713.sh
test/runtime/6878713/Test6878713.sh
+7
-44
test/runtime/6929067/Test6929067.sh
test/runtime/6929067/Test6929067.sh
+12
-14
test/runtime/7020373/Test7020373.sh
test/runtime/7020373/Test7020373.sh
+6
-46
test/runtime/7051189/Xchecksig.sh
test/runtime/7051189/Xchecksig.sh
+6
-18
test/runtime/7107135/Test7107135.sh
test/runtime/7107135/Test7107135.sh
+7
-14
test/runtime/7110720/Test7110720.sh
test/runtime/7110720/Test7110720.sh
+5
-14
test/runtime/7158804/Test7158804.sh
test/runtime/7158804/Test7158804.sh
+6
-5
test/runtime/7162488/Test7162488.sh
test/runtime/7162488/Test7162488.sh
+5
-19
test/test_env.sh
test/test_env.sh
+193
-0
未找到文件。
make/excludeSrc.make
浏览文件 @
aa51a3fc
...
@@ -28,7 +28,8 @@ ifeq ($(INCLUDE_JVMTI), false)
...
@@ -28,7 +28,8 @@ ifeq ($(INCLUDE_JVMTI), false)
Src_Files_EXCLUDE
+=
jvmtiGetLoadedClasses.cpp forte.cpp jvmtiThreadState.cpp jvmtiExtensions.cpp
\
Src_Files_EXCLUDE
+=
jvmtiGetLoadedClasses.cpp forte.cpp jvmtiThreadState.cpp jvmtiExtensions.cpp
\
jvmtiImpl.cpp jvmtiManageCapabilities.cpp jvmtiRawMonitor.cpp jvmtiUtil.cpp jvmtiTrace.cpp
\
jvmtiImpl.cpp jvmtiManageCapabilities.cpp jvmtiRawMonitor.cpp jvmtiUtil.cpp jvmtiTrace.cpp
\
jvmtiCodeBlobEvents.cpp jvmtiEnv.cpp jvmtiRedefineClasses.cpp jvmtiEnvBase.cpp jvmtiEnvThreadState.cpp
\
jvmtiCodeBlobEvents.cpp jvmtiEnv.cpp jvmtiRedefineClasses.cpp jvmtiEnvBase.cpp jvmtiEnvThreadState.cpp
\
jvmtiTagMap.cpp jvmtiEventController.cpp evmCompat.cpp jvmtiEnter.xsl jvmtiExport.cpp
jvmtiTagMap.cpp jvmtiEventController.cpp evmCompat.cpp jvmtiEnter.xsl jvmtiExport.cpp
\
jvmtiClassFileReconstituter.cpp
endif
endif
ifeq
($(INCLUDE_FPROF), false)
ifeq
($(INCLUDE_FPROF), false)
...
...
test/compiler/5091921/Test6890943.sh
浏览文件 @
aa51a3fc
...
@@ -22,26 +22,16 @@
...
@@ -22,26 +22,16 @@
# questions.
# questions.
#
#
#
#
## some tests require path to find test source dir
if
[
"
${
TESTSRC
}
"
=
""
]
if
[
"
${
TESTSRC
}
"
=
""
]
then
then
echo
"TESTSRC not set. Test cannot execute. Failed."
TESTSRC
=
${
PWD
}
e
xit
1
e
cho
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
fi
fi
echo
"TESTSRC=
${
TESTSRC
}
"
echo
"TESTSRC=
${
TESTSRC
}
"
if
[
"
${
TESTJAVA
}
"
=
""
]
## Adding common setup Variables for running shell tests.
then
.
${
TESTSRC
}
/../../test_env.sh
echo
"TESTJAVA not set. Test cannot execute. Failed."
exit
1
fi
echo
"TESTJAVA=
${
TESTJAVA
}
"
if
[
"
${
TESTCLASSES
}
"
=
""
]
then
echo
"TESTCLASSES not set. Test cannot execute. Failed."
exit
1
fi
echo
"TESTCLASSES=
${
TESTCLASSES
}
"
echo
"CLASSPATH=
${
CLASSPATH
}
"
set
-x
set
-x
...
@@ -50,7 +40,7 @@ cp ${TESTSRC}/input6890943.txt .
...
@@ -50,7 +40,7 @@ cp ${TESTSRC}/input6890943.txt .
cp
${
TESTSRC
}
/output6890943.txt
.
cp
${
TESTSRC
}
/output6890943.txt
.
cp
${
TESTSRC
}
/Test6890943.sh
.
cp
${
TESTSRC
}
/Test6890943.sh
.
${
TESTJAVA
}
/bin/javac
-d
.
Test6890943.java
${
COMPILEJAVA
}
/bin/javac
${
TESTJAVACOPTS
}
-d
.
Test6890943.java
${
TESTJAVA
}
/bin/java
-XX
:-PrintVMOptions
-XX
:+IgnoreUnrecognizedVMOptions
${
TESTVMOPTS
}
Test6890943 < input6890943.txt
>
pretest.out 2>&1
${
TESTJAVA
}
/bin/java
-XX
:-PrintVMOptions
-XX
:+IgnoreUnrecognizedVMOptions
${
TESTVMOPTS
}
Test6890943 < input6890943.txt
>
pretest.out 2>&1
...
...
test/compiler/5091921/Test7005594.sh
浏览文件 @
aa51a3fc
...
@@ -22,26 +22,15 @@
...
@@ -22,26 +22,15 @@
# questions.
# questions.
#
#
#
#
## some tests require path to find test source dir
if
[
"
${
TESTSRC
}
"
=
""
]
if
[
"
${
TESTSRC
}
"
=
""
]
then
then
echo
"TESTSRC not set. Test cannot execute. Failed."
TESTSRC
=
${
PWD
}
e
xit
1
e
cho
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
fi
fi
echo
"TESTSRC=
${
TESTSRC
}
"
echo
"TESTSRC=
${
TESTSRC
}
"
if
[
"
${
TESTJAVA
}
"
=
""
]
## Adding common setup Variables for running shell tests.
then
.
${
TESTSRC
}
/../../test_env.sh
echo
"TESTJAVA not set. Test cannot execute. Failed."
exit
1
fi
echo
"TESTJAVA=
${
TESTJAVA
}
"
if
[
"
${
TESTCLASSES
}
"
=
""
]
then
echo
"TESTCLASSES not set. Test cannot execute. Failed."
exit
1
fi
echo
"TESTCLASSES=
${
TESTCLASSES
}
"
echo
"CLASSPATH=
${
CLASSPATH
}
"
# Amount of physical memory in megabytes
# Amount of physical memory in megabytes
MEM
=
0
MEM
=
0
...
@@ -87,7 +76,7 @@ set -x
...
@@ -87,7 +76,7 @@ set -x
cp
${
TESTSRC
}
/Test7005594.java
.
cp
${
TESTSRC
}
/Test7005594.java
.
cp
${
TESTSRC
}
/Test7005594.sh
.
cp
${
TESTSRC
}
/Test7005594.sh
.
${
TESTJAVA
}
/bin/javac
-d
.
Test7005594.java
${
COMPILEJAVA
}
/bin/javac
${
TESTJAVACOPTS
}
-d
.
Test7005594.java
${
TESTJAVA
}
/bin/java
${
TESTVMOPTS
}
-Xms1600m
-XX
:+IgnoreUnrecognizedVMOptions
-XX
:-ZapUnusedHeapArea
-Xcomp
-XX
:CompileOnly
=
Test7005594.test Test7005594
>
test.out 2>&1
${
TESTJAVA
}
/bin/java
${
TESTVMOPTS
}
-Xms1600m
-XX
:+IgnoreUnrecognizedVMOptions
-XX
:-ZapUnusedHeapArea
-Xcomp
-XX
:CompileOnly
=
Test7005594.test Test7005594
>
test.out 2>&1
...
...
test/compiler/6857159/Test6857159.sh
浏览文件 @
aa51a3fc
...
@@ -22,33 +22,22 @@
...
@@ -22,33 +22,22 @@
# questions.
# questions.
#
#
#
#
## some tests require path to find test source dir
if
[
"
${
TESTSRC
}
"
=
""
]
if
[
"
${
TESTSRC
}
"
=
""
]
then
then
echo
"TESTSRC not set. Test cannot execute. Failed."
TESTSRC
=
${
PWD
}
e
xit
1
e
cho
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
fi
fi
echo
"TESTSRC=
${
TESTSRC
}
"
echo
"TESTSRC=
${
TESTSRC
}
"
if
[
"
${
TESTJAVA
}
"
=
""
]
## Adding common setup Variables for running shell tests.
then
.
${
TESTSRC
}
/../../test_env.sh
echo
"TESTJAVA not set. Test cannot execute. Failed."
exit
1
fi
echo
"TESTJAVA=
${
TESTJAVA
}
"
if
[
"
${
TESTCLASSES
}
"
=
""
]
then
echo
"TESTCLASSES not set. Test cannot execute. Failed."
exit
1
fi
echo
"TESTCLASSES=
${
TESTCLASSES
}
"
echo
"CLASSPATH=
${
CLASSPATH
}
"
set
-x
set
-x
cp
${
TESTSRC
}
/Test6857159.java
.
cp
${
TESTSRC
}
/Test6857159.java
.
cp
${
TESTSRC
}
/Test6857159.sh
.
cp
${
TESTSRC
}
/Test6857159.sh
.
${
TESTJAVA
}
/bin/javac
-d
.
Test6857159.java
${
COMPILEJAVA
}
/bin/javac
${
TESTJAVACOPTS
}
-d
.
Test6857159.java
${
TESTJAVA
}
/bin/java
${
TESTVMOPTS
}
-Xbatch
-XX
:+PrintCompilation
-XX
:CompileOnly
=
Test6857159
\$
ct.run Test6857159
>
test.out 2>&1
${
TESTJAVA
}
/bin/java
${
TESTVMOPTS
}
-Xbatch
-XX
:+PrintCompilation
-XX
:CompileOnly
=
Test6857159
\$
ct.run Test6857159
>
test.out 2>&1
...
...
test/compiler/7068051/Test7068051.sh
浏览文件 @
aa51a3fc
...
@@ -22,28 +22,24 @@
...
@@ -22,28 +22,24 @@
# questions.
# questions.
#
#
#
#
## some tests require path to find test source dir
if
[
"
${
TESTSRC
}
"
=
""
]
if
[
"
${
TESTSRC
}
"
=
""
]
then
then
echo
"TESTSRC not set. Test cannot execute. Failed."
TESTSRC
=
${
PWD
}
e
xit
1
e
cho
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
fi
fi
echo
"TESTSRC=
${
TESTSRC
}
"
echo
"TESTSRC=
${
TESTSRC
}
"
if
[
"
${
TESTJAVA
}
"
=
""
]
## Adding common setup Variables for running shell tests.
then
.
${
TESTSRC
}
/../../test_env.sh
echo
"TESTJAVA not set. Test cannot execute. Failed."
exit
1
fi
echo
"TESTJAVA=
${
TESTJAVA
}
"
set
-x
set
-x
${
TESTJAVA
}
/bin/jar xf
${
TEST
JAVA
}
/jre/lib/javaws.jar
${
COMPILEJAVA
}
/bin/jar xf
${
COMPILE
JAVA
}
/jre/lib/javaws.jar
${
TEST
JAVA
}
/bin/jar cf foo.jar
*
${
COMPILE
JAVA
}
/bin/jar cf foo.jar
*
cp
${
TESTSRC
}
/Test7068051.java ./
cp
${
TESTSRC
}
/Test7068051.java ./
${
TEST
JAVA
}
/bin/jar
-uf0
foo.jar Test7068051.java
${
COMPILE
JAVA
}
/bin/jar
-uf0
foo.jar Test7068051.java
${
TESTJAVA
}
/bin/javac
-d
.
Test7068051.java
${
COMPILEJAVA
}
/bin/javac
${
TESTJAVACOPTS
}
-d
.
Test7068051.java
${
TESTJAVA
}
/bin/java
${
TESTVMOPTS
}
-showversion
-Xbatch
Test7068051 foo.jar
${
TESTJAVA
}
/bin/java
${
TESTVMOPTS
}
-showversion
-Xbatch
Test7068051 foo.jar
test/compiler/7070134/Test7070134.sh
浏览文件 @
aa51a3fc
...
@@ -22,33 +22,22 @@
...
@@ -22,33 +22,22 @@
# questions.
# questions.
#
#
#
#
## some tests require path to find test source dir
if
[
"
${
TESTSRC
}
"
=
""
]
if
[
"
${
TESTSRC
}
"
=
""
]
then
then
echo
"TESTSRC not set. Test cannot execute. Failed."
TESTSRC
=
${
PWD
}
e
xit
1
e
cho
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
fi
fi
echo
"TESTSRC=
${
TESTSRC
}
"
echo
"TESTSRC=
${
TESTSRC
}
"
if
[
"
${
TESTJAVA
}
"
=
""
]
## Adding common setup Variables for running shell tests.
then
.
${
TESTSRC
}
/../../test_env.sh
echo
"TESTJAVA not set. Test cannot execute. Failed."
exit
1
fi
echo
"TESTJAVA=
${
TESTJAVA
}
"
if
[
"
${
TESTCLASSES
}
"
=
""
]
then
echo
"TESTCLASSES not set. Test cannot execute. Failed."
exit
1
fi
echo
"TESTCLASSES=
${
TESTCLASSES
}
"
echo
"CLASSPATH=
${
CLASSPATH
}
"
set
-x
set
-x
cp
${
TESTSRC
}
/Stemmer.java
.
cp
${
TESTSRC
}
/Stemmer.java
.
cp
${
TESTSRC
}
/words
.
cp
${
TESTSRC
}
/words
.
${
TESTJAVA
}
/bin/javac
-d
.
Stemmer.java
${
COMPILEJAVA
}
/bin/javac
${
TESTJAVACOPTS
}
-d
.
Stemmer.java
${
TESTJAVA
}
/bin/java
${
TESTVMOPTS
}
-Xbatch
Stemmer words
>
test.out 2>&1
${
TESTJAVA
}
/bin/java
${
TESTVMOPTS
}
-Xbatch
Stemmer words
>
test.out 2>&1
...
...
test/compiler/7200264/Test7200264.sh
浏览文件 @
aa51a3fc
...
@@ -23,50 +23,15 @@
...
@@ -23,50 +23,15 @@
#
#
#
#
## some tests require path to find test source dir
if
[
"
${
TESTSRC
}
"
=
""
]
if
[
"
${
TESTSRC
}
"
=
""
]
then
then
echo
"TESTSRC not set. Test cannot execute. Failed."
TESTSRC
=
${
PWD
}
e
xit
1
e
cho
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
fi
fi
echo
"TESTSRC=
${
TESTSRC
}
"
echo
"TESTSRC=
${
TESTSRC
}
"
if
[
"
${
TESTJAVA
}
"
=
""
]
## Adding common setup Variables for running shell tests.
then
.
${
TESTSRC
}
/../../test_env.sh
echo
"TESTJAVA not set. Test cannot execute. Failed."
exit
1
fi
echo
"TESTJAVA=
${
TESTJAVA
}
"
if
[
"
${
TESTCLASSES
}
"
=
""
]
then
echo
"TESTCLASSES not set. Test cannot execute. Failed."
exit
1
fi
echo
"TESTCLASSES=
${
TESTCLASSES
}
"
echo
"CLASSPATH=
${
CLASSPATH
}
"
# set platform-dependent variables
OS
=
`
uname
-s
`
case
"
$OS
"
in
SunOS
|
Linux
|
Darwin
)
NULL
=
/dev/null
PS
=
":"
FS
=
"/"
;;
Windows_
*
)
NULL
=
NUL
PS
=
";"
FS
=
"
\\
"
;;
CYGWIN_
*
)
NULL
=
/dev/null
PS
=
";"
FS
=
"/"
;;
*
)
echo
"Unrecognized system!"
exit
1
;
;;
esac
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
${
TESTVMOPTS
}
-Xinternalversion
|
sed
's/amd64/x86/'
|
grep
"x86"
|
grep
"Server VM"
|
grep
"debug"
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
${
TESTVMOPTS
}
-Xinternalversion
|
sed
's/amd64/x86/'
|
grep
"x86"
|
grep
"Server VM"
|
grep
"debug"
...
@@ -88,7 +53,7 @@ else
...
@@ -88,7 +53,7 @@ else
fi
fi
cp
${
TESTSRC
}${
FS
}
TestIntVect.java
.
cp
${
TESTSRC
}${
FS
}
TestIntVect.java
.
${
TESTJAVA
}${
FS
}
bin
${
FS
}
javac
-d
.
TestIntVect.java
${
COMPILEJAVA
}${
FS
}
bin
${
FS
}
javac
${
TESTJAVACOPTS
}
-d
.
TestIntVect.java
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
${
TESTVMOPTS
}
-Xbatch
-XX
:-TieredCompilation
-XX
:CICompilerCount
=
1
-XX
:+PrintCompilation
-XX
:+TraceNewVectors TestIntVect
>
test.out 2>&1
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
${
TESTVMOPTS
}
-Xbatch
-XX
:-TieredCompilation
-XX
:CICompilerCount
=
1
-XX
:+PrintCompilation
-XX
:+TraceNewVectors TestIntVect
>
test.out 2>&1
...
...
test/gc/6941923/test6941923.sh
浏览文件 @
aa51a3fc
...
@@ -5,38 +5,25 @@
...
@@ -5,38 +5,25 @@
## @author yqi
## @author yqi
## @run shell test6941923.sh
## @run shell test6941923.sh
##
##
## some tests require path to find test source dir
if
[
"
${
TESTSRC
}
"
=
""
]
then
TESTSRC
=
${
PWD
}
echo
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
fi
echo
"TESTSRC=
${
TESTSRC
}
"
## Adding common setup Variables for running shell tests.
.
${
TESTSRC
}
/../../test_env.sh
## skip on windows
## skip on windows
OS
=
`
uname
-s
`
OS
=
`
uname
-s
`
case
"
$OS
"
in
case
"
$OS
"
in
SunOS
|
Linux
|
Darwin
)
NULL
=
/dev/null
PS
=
":"
FS
=
"/"
;;
Windows_
*
|
CYGWIN_
*
)
Windows_
*
|
CYGWIN_
*
)
echo
"Test skipped for Windows"
echo
"Test skipped for Windows"
exit
0
exit
0
;;
;;
*
)
echo
"Unrecognized system!"
exit
1
;
;;
esac
esac
if
[
"
${
JAVA_HOME
}
"
=
""
]
then
echo
"JAVA_HOME not set"
exit
0
fi
$JAVA_HOME
/bin/java
${
TESTVMOPTS
}
-version
>
$NULL
2>&1
if
[
$?
!=
0
]
;
then
echo
"Wrong JAVA_HOME? JAVA_HOME:
$JAVA_HOME
"
exit
$?
fi
# create a small test case
# create a small test case
testname
=
"Test"
testname
=
"Test"
if
[
-e
${
testname
}
.java
]
;
then
if
[
-e
${
testname
}
.java
]
;
then
...
@@ -96,10 +83,10 @@ msgsuccess="succeeded"
...
@@ -96,10 +83,10 @@ msgsuccess="succeeded"
msgfail
=
"failed"
msgfail
=
"failed"
gclogsize
=
"16K"
gclogsize
=
"16K"
filesize
=
$((
16
*
1024
))
filesize
=
$((
16
*
1024
))
$
JAVA_HOME
/bin/javac
${
testname
}
.java
>
$NULL
2>&1
$
{
COMPILEJAVA
}
/bin/javac
${
TESTJAVACOPTS
}
${
testname
}
.java
>
$NULL
2>&1
if
[
$?
!=
0
]
;
then
if
[
$?
!=
0
]
;
then
echo
"
$
JAVA_HOME
/bin/javac
${
testname
}
.java
$fail
"
echo
"
$
{
COMPILEJAVA
}
/bin/javac
${
testname
}
.java
$fail
"
exit
-1
exit
-1
fi
fi
...
@@ -119,7 +106,7 @@ fi
...
@@ -119,7 +106,7 @@ fi
options
=
"-Xloggc:
$logfile
-XX:+UseConcMarkSweepGC -XX:+PrintGC -XX:+PrintGCDetails -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=1 -XX:GCLogFileSize=
$gclogsize
"
options
=
"-Xloggc:
$logfile
-XX:+UseConcMarkSweepGC -XX:+PrintGC -XX:+PrintGCDetails -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=1 -XX:GCLogFileSize=
$gclogsize
"
echo
"Test gc log rotation in same file, wait for
$tts
minutes ...."
echo
"Test gc log rotation in same file, wait for
$tts
minutes ...."
$
JAVA_HOME
/bin/java
${
TESTVMOPTS
}
$options
$testname
$tts
$
{
TESTJAVA
}
/bin/java
$options
$testname
$tts
if
[
$?
!=
0
]
;
then
if
[
$?
!=
0
]
;
then
echo
"
$msgfail
"
echo
"
$msgfail
"
exit
-1
exit
-1
...
@@ -148,7 +135,7 @@ fi
...
@@ -148,7 +135,7 @@ fi
numoffiles
=
3
numoffiles
=
3
options
=
"-Xloggc:
$logfile
-XX:+UseConcMarkSweepGC -XX:+PrintGC -XX:+PrintGCDetails -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=
$numoffiles
-XX:GCLogFileSize=
$gclogsize
"
options
=
"-Xloggc:
$logfile
-XX:+UseConcMarkSweepGC -XX:+PrintGC -XX:+PrintGCDetails -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=
$numoffiles
-XX:GCLogFileSize=
$gclogsize
"
echo
"Test gc log rotation in
$numoffiles
files, wait for
$tts
minutes ...."
echo
"Test gc log rotation in
$numoffiles
files, wait for
$tts
minutes ...."
$
JAVA_HOME
/bin/java
${
TESTVMOPTS
}
$options
$testname
$tts
$
{
TESTJAVA
}
/bin/java
$options
$testname
$tts
if
[
$?
!=
0
]
;
then
if
[
$?
!=
0
]
;
then
echo
"
$msgfail
"
echo
"
$msgfail
"
exit
-1
exit
-1
...
...
test/runtime/6626217/Test6626217.sh
浏览文件 @
aa51a3fc
...
@@ -27,78 +27,29 @@
...
@@ -27,78 +27,29 @@
# @summary Loader-constraint table allows arrays instead of only the base-classes
# @summary Loader-constraint table allows arrays instead of only the base-classes
# @run shell Test6626217.sh
# @run shell Test6626217.sh
#
#
## some tests require path to find test source dir
if
[
"
${
TESTSRC
}
"
=
""
]
if
[
"
${
TESTSRC
}
"
=
""
]
then
TESTSRC
=
.
fi
if
[
"
${
TESTJAVA
}
"
=
""
]
then
PARENT
=
`
dirname
\`
which java
\`
`
TESTJAVA
=
`
dirname
${
PARENT
}
`
echo
"TESTJAVA not set, selecting "
${
TESTJAVA
}
echo
"If this is incorrect, try setting the variable manually."
fi
if
[
"
${
TESTCLASSES
}
"
=
""
]
then
then
echo
"TESTCLASSES not set. Test cannot execute. Failed."
TESTSRC
=
${
PWD
}
e
xit
1
e
cho
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
fi
fi
echo
"TESTSRC=
${
TESTSRC
}
"
# set platform-dependent variables
## Adding common setup Variables for running shell tests.
OS
=
`
uname
-s
`
.
${
TESTSRC
}
/../../test_env.sh
case
"
$OS
"
in
SunOS
|
Linux
|
Darwin
)
NULL
=
/dev/null
PS
=
":"
FS
=
"/"
RM
=
/bin/rm
CP
=
/bin/cp
MV
=
/bin/mv
;;
Windows_
*
)
NULL
=
NUL
PS
=
";"
FS
=
"
\\
"
RM
=
rm
CP
=
cp
MV
=
mv
;;
CYGWIN_
*
)
NULL
=
/dev/null
PS
=
";"
FS
=
"/"
RM
=
rm
CP
=
cp
MV
=
mv
;;
*
)
echo
"Unrecognized system!"
exit
1
;
;;
esac
JEMMYPATH
=
${
CPAPPEND
}
CLASSPATH
=
.
${
PS
}${
TESTCLASSES
}${
PS
}${
JEMMYPATH
}
;
export
CLASSPATH
THIS_DIR
=
`
pwd
`
JAVA
=
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
JAVA
=
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
JAVAC
=
${
TESTJAVA
}${
FS
}
bin
${
FS
}
javac
JAVAC
=
${
COMPILEJAVA
}${
FS
}
bin
${
FS
}
javac
${
JAVA
}
${
TESTVMOPTS
}
-version
# Current directory is scratch directory, copy all the test source there
# Current directory is scratch directory, copy all the test source there
# (for the subsequent moves to work).
# (for the subsequent moves to work).
${
CP
}
${
TESTSRC
}${
FS
}*
${
THIS_DIR
}
${
CP
}
${
TESTSRC
}${
FS
}*
${
THIS_DIR
}
# A Clean Compile: this line will probably fail within jtreg as have a clean dir:
# A Clean Compile: this line will probably fail within jtreg as have a clean dir:
${
RM
}
-f
*
.class
*
.impl many_loader.java
${
RM
}
-f
*
.class
*
.impl many_loader.java
# Compile all the usual suspects, including the default 'many_loader'
# Compile all the usual suspects, including the default 'many_loader'
${
CP
}
many_loader1.java.foo many_loader.java
${
CP
}
many_loader1.java.foo many_loader.java
${
JAVAC
}
-source
1.4
-target
1.4
-Xlint
*
.java
${
JAVAC
}
${
TESTJAVACOPTS
}
-source
1.4
-target
1.4
-Xlint
*
.java
# Rename the class files, so the custom loader (and not the system loader) will find it
# Rename the class files, so the custom loader (and not the system loader) will find it
${
MV
}
from_loader2.class from_loader2.impl2
${
MV
}
from_loader2.class from_loader2.impl2
...
@@ -106,7 +57,7 @@ ${MV} from_loader2.class from_loader2.impl2
...
@@ -106,7 +57,7 @@ ${MV} from_loader2.class from_loader2.impl2
# Compile the next version of 'many_loader'
# Compile the next version of 'many_loader'
${
MV
}
many_loader.class many_loader.impl1
${
MV
}
many_loader.class many_loader.impl1
${
CP
}
many_loader2.java.foo many_loader.java
${
CP
}
many_loader2.java.foo many_loader.java
${
JAVAC
}
-source
1.4
-target
1.4
-Xlint
many_loader.java
${
JAVAC
}
${
TESTJAVACOPTS
}
-source
1.4
-target
1.4
-Xlint
many_loader.java
# Rename the class file, so the custom loader (and not the system loader) will find it
# Rename the class file, so the custom loader (and not the system loader) will find it
${
MV
}
many_loader.class many_loader.impl2
${
MV
}
many_loader.class many_loader.impl2
...
...
test/runtime/6878713/Test6878713.sh
浏览文件 @
aa51a3fc
...
@@ -34,57 +34,20 @@
...
@@ -34,57 +34,20 @@
## @summary Verifier heap corruption, relating to backward jsrs
## @summary Verifier heap corruption, relating to backward jsrs
## @run shell Test6878713.sh
## @run shell Test6878713.sh
##
##
## some tests require path to find test source dir
if
[
"
${
TESTSRC
}
"
=
""
]
if
[
"
${
TESTSRC
}
"
=
""
]
then
TESTSRC
=
.
fi
if
[
"
${
TESTJAVA
}
"
=
""
]
then
then
PARENT
=
`
dirname
\`
which java
\`
`
TESTSRC
=
${
PWD
}
TESTJAVA
=
`
dirname
${
PARENT
}
`
echo
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
echo
"TESTJAVA not set, selecting "
${
TESTJAVA
}
echo
"If this is incorrect, try setting the variable manually."
fi
fi
echo
"TESTSRC=
${
TESTSRC
}
"
if
[
"
${
TESTCLASSES
}
"
=
""
]
## Adding common setup Variables for running shell tests.
then
.
${
TESTSRC
}
/../../test_env.sh
echo
"TESTCLASSES not set. Test cannot execute. Failed."
exit
1
fi
# set platform-dependent variables
OS
=
`
uname
-s
`
case
"
$OS
"
in
SunOS
|
Linux
|
Darwin
)
NULL
=
/dev/null
PS
=
":"
FS
=
"/"
;;
Windows_
*
)
NULL
=
NUL
PS
=
";"
FS
=
"
\\
"
;;
CYGWIN_
*
)
NULL
=
/dev/null
PS
=
";"
FS
=
"/"
;;
*
)
echo
"Unrecognized system!"
exit
1
;
;;
esac
CLASSPATH
=
.
${
PS
}${
TESTCLASSES
}
;
export
CLASSPATH
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
${
TESTVMOPTS
}
-version
TARGET_CLASS
=
OOMCrashClass1960_2
TARGET_CLASS
=
OOMCrashClass1960_2
echo
"INFO: extracting the target class."
echo
"INFO: extracting the target class."
${
TEST
JAVA
}${
FS
}
bin
${
FS
}
jar xvf
\
${
COMPILE
JAVA
}${
FS
}
bin
${
FS
}
jar xvf
\
${
TESTSRC
}${
FS
}
testcase.jar
${
TARGET_CLASS
}
.class
${
TESTSRC
}${
FS
}
testcase.jar
${
TARGET_CLASS
}
.class
# remove any hs_err_pid that might exist here
# remove any hs_err_pid that might exist here
...
...
test/runtime/6929067/Test6929067.sh
浏览文件 @
aa51a3fc
...
@@ -7,18 +7,15 @@
...
@@ -7,18 +7,15 @@
## @compile T.java
## @compile T.java
## @run shell Test6929067.sh
## @run shell Test6929067.sh
##
##
set
-x
if
[
"
${
TESTSRC
}
"
=
""
]
if
[
"
${
TESTSRC
}
"
=
""
]
then
TESTSRC
=
.
fi
if
[
"
${
TESTJAVA
}
"
=
""
]
then
then
PARENT
=
`
dirname
\`
which java
\`
`
TESTSRC
=
${
PWD
}
TESTJAVA
=
`
dirname
${
PARENT
}
`
echo
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
echo
"TESTJAVA not set, selecting "
${
TESTJAVA
}
echo
"If this is incorrect, try setting the variable manually."
fi
fi
echo
"TESTSRC=
${
TESTSRC
}
"
## Adding common setup Variables for running shell tests.
.
${
TESTSRC
}
/../../test_env.sh
# set platform-dependent variables
# set platform-dependent variables
OS
=
`
uname
-s
`
OS
=
`
uname
-s
`
...
@@ -107,7 +104,7 @@ then
...
@@ -107,7 +104,7 @@ then
fi
fi
LD_LIBRARY_PATH
=
.:
${
TEST
JAVA
}
/jre/lib/
${
ARCH
}
/
${
VMTYPE
}
:/usr/lib:
$LD_LIBRARY_PATH
LD_LIBRARY_PATH
=
.:
${
COMPILE
JAVA
}
/jre/lib/
${
ARCH
}
/
${
VMTYPE
}
:/usr/lib:
$LD_LIBRARY_PATH
export
LD_LIBRARY_PATH
export
LD_LIBRARY_PATH
cp
${
TESTSRC
}${
FS
}
invoke.c
.
cp
${
TESTSRC
}${
FS
}
invoke.c
.
...
@@ -115,15 +112,16 @@ cp ${TESTSRC}${FS}invoke.c .
...
@@ -115,15 +112,16 @@ cp ${TESTSRC}${FS}invoke.c .
# Copy the result of our @compile action:
# Copy the result of our @compile action:
cp
${
TESTCLASSES
}${
FS
}
T.class
.
cp
${
TESTCLASSES
}${
FS
}
T.class
.
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
${
TESTVMOPTS
}
-fullversion
echo
"Architecture:
${
ARCH
}
"
echo
"Architecture:
${
ARCH
}
"
echo
"Compilation flag:
${
COMP_FLAG
}
"
echo
"Compilation flag:
${
COMP_FLAG
}
"
echo
"VM type:
${
VMTYPE
}
"
echo
"VM type:
${
VMTYPE
}
"
# Note pthread may not be found thus invoke creation will fail to be created.
# Check to ensure you have a /usr/lib/libpthread.so if you don't please look
# for /usr/lib/`uname -m`-linux-gnu version ensure to add that path to below compilation.
gcc
-DLINUX
${
COMP_FLAG
}
-o
invoke
\
gcc
-DLINUX
${
COMP_FLAG
}
-o
invoke
\
-I
${
TESTJAVA
}
/include
-I
${
TEST
JAVA
}
/include/linux
\
-I
${
COMPILEJAVA
}
/include
-I
${
COMPILE
JAVA
}
/include/linux
\
-L
${
TEST
JAVA
}
/jre/lib/
${
ARCH
}
/
${
VMTYPE
}
\
-L
${
COMPILE
JAVA
}
/jre/lib/
${
ARCH
}
/
${
VMTYPE
}
\
-ljvm
-lpthread
invoke.c
-ljvm
-lpthread
invoke.c
./invoke
./invoke
...
...
test/runtime/7020373/Test7020373.sh
浏览文件 @
aa51a3fc
...
@@ -10,55 +10,15 @@
...
@@ -10,55 +10,15 @@
##
##
if
[
"
${
TESTSRC
}
"
=
""
]
if
[
"
${
TESTSRC
}
"
=
""
]
then
TESTSRC
=
.
fi
if
[
"
${
TESTJAVA
}
"
=
""
]
then
PARENT
=
`
dirname
\`
which java
\`
`
TESTJAVA
=
`
dirname
${
PARENT
}
`
echo
"TESTJAVA not set, selecting "
${
TESTJAVA
}
echo
"If this is incorrect, try setting the variable manually."
fi
if
[
"
${
TESTCLASSES
}
"
=
""
]
then
then
echo
"TESTCLASSES not set. Test cannot execute. Failed."
TESTSRC
=
${
PWD
}
e
xit
1
e
cho
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
fi
fi
echo
"TESTSRC=
${
TESTSRC
}
"
## Adding common setup Variables for running shell tests.
.
${
TESTSRC
}
/../../test_env.sh
# set platform-dependent variables
${
COMPILEJAVA
}${
FS
}
bin
${
FS
}
jar xvf
${
TESTSRC
}${
FS
}
testcase.jar
OS
=
`
uname
-s
`
case
"
$OS
"
in
SunOS
|
Linux
|
Darwin
)
NULL
=
/dev/null
PS
=
":"
FS
=
"/"
;;
Windows_
*
)
NULL
=
NUL
PS
=
";"
FS
=
"
\\
"
;;
CYGWIN_
*
)
NULL
=
/dev/null
PS
=
";"
FS
=
"/"
;;
*
)
echo
"Unrecognized system!"
exit
1
;
;;
esac
JEMMYPATH
=
${
CPAPPEND
}
CLASSPATH
=
.
${
PS
}${
TESTCLASSES
}${
PS
}${
JEMMYPATH
}
;
export
CLASSPATH
THIS_DIR
=
`
pwd
`
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
${
TESTVMOPTS
}
-version
${
TESTJAVA
}${
FS
}
bin
${
FS
}
jar xvf
${
TESTSRC
}${
FS
}
testcase.jar
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
${
TESTVMOPTS
}
OOMCrashClass4000_1
>
test.out 2>&1
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
${
TESTVMOPTS
}
OOMCrashClass4000_1
>
test.out 2>&1
...
...
test/runtime/7051189/Xchecksig.sh
浏览文件 @
aa51a3fc
...
@@ -29,34 +29,22 @@
...
@@ -29,34 +29,22 @@
#
#
if
[
"
${
TESTSRC
}
"
=
""
]
if
[
"
${
TESTSRC
}
"
=
""
]
then
TESTSRC
=
.
fi
if
[
"
${
TESTJAVA
}
"
=
""
]
then
then
PARENT
=
`
dirname
\`
which java
\`
`
TESTSRC
=
${
PWD
}
TESTJAVA
=
`
dirname
${
PARENT
}
`
echo
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
printf
"TESTJAVA not set, selecting "
${
TESTJAVA
}
printf
" If this is incorrect, try setting the variable manually.
\n
"
fi
fi
echo
"TESTSRC=
${
TESTSRC
}
"
## Adding common setup Variables for running shell tests.
.
${
TESTSRC
}
/../../test_env.sh
OS
=
`
uname
-s
`
OS
=
`
uname
-s
`
case
"
$OS
"
in
case
"
$OS
"
in
SunOS
|
Linux
|
Darwin
)
FS
=
"/"
;;
Windows_
*
|
CYGWIN_
*
)
Windows_
*
|
CYGWIN_
*
)
printf
"Not testing libjsig.so on Windows. PASSED.
\n
"
printf
"Not testing libjsig.so on Windows. PASSED.
\n
"
exit
0
exit
0
;;
;;
*
)
printf
"Not testing libjsig.so on unrecognised system. PASSED.
\n
"
exit
0
;;
esac
esac
JAVA
=
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
JAVA
=
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
# LD_PRELOAD arch needs to match the binary we run, so run the java
# LD_PRELOAD arch needs to match the binary we run, so run the java
...
@@ -97,7 +85,7 @@ case $ARCH in
...
@@ -97,7 +85,7 @@ case $ARCH in
;;
;;
esac
esac
LIBJSIG
=
${
TEST
JAVA
}${
FS
}
jre
${
FS
}
lib
${
FS
}${
ARCH
}${
FS
}
libjsig.so
LIBJSIG
=
${
COMPILE
JAVA
}${
FS
}
jre
${
FS
}
lib
${
FS
}${
ARCH
}${
FS
}
libjsig.so
# If libjsig and binary do not match, skip test.
# If libjsig and binary do not match, skip test.
...
...
test/runtime/7107135/Test7107135.sh
浏览文件 @
aa51a3fc
...
@@ -32,26 +32,19 @@
...
@@ -32,26 +32,19 @@
##
##
if
[
"
${
TESTSRC
}
"
=
""
]
if
[
"
${
TESTSRC
}
"
=
""
]
then
TESTSRC
=
.
fi
if
[
"
${
TESTJAVA
}
"
=
""
]
then
then
PARENT
=
`
dirname
\`
which java
\`
`
TESTSRC
=
${
PWD
}
TESTJAVA
=
`
dirname
${
PARENT
}
`
echo
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
echo
"TESTJAVA not set, selecting "
${
TESTJAVA
}
echo
"If this is incorrect, try setting the variable manually."
fi
fi
echo
"TESTSRC=
${
TESTSRC
}
"
BIT_FLAG
=
""
## Adding common setup Variables for running shell tests.
.
${
TESTSRC
}
/../../test_env.sh
# set platform-dependent variables
# set platform-dependent variables
OS
=
`
uname
-s
`
OS
=
`
uname
-s
`
case
"
$OS
"
in
case
"
$OS
"
in
Linux
)
Linux
)
NULL
=
/dev/null
echo
"Testing on Linux"
PS
=
":"
FS
=
"/"
;;
;;
*
)
*
)
NULL
=
NUL
NULL
=
NUL
...
@@ -64,7 +57,7 @@ esac
...
@@ -64,7 +57,7 @@ esac
ARCH
=
`
uname
-m
`
ARCH
=
`
uname
-m
`
THIS_DIR
=
`
pwd
`
THIS_DIR
=
.
cp
${
TESTSRC
}${
FS
}*
.java
${
THIS_DIR
}
cp
${
TESTSRC
}${
FS
}*
.java
${
THIS_DIR
}
${
TESTJAVA
}${
FS
}
bin
${
FS
}
javac
*
.java
${
TESTJAVA
}${
FS
}
bin
${
FS
}
javac
*
.java
...
...
test/runtime/7110720/Test7110720.sh
浏览文件 @
aa51a3fc
...
@@ -12,22 +12,13 @@
...
@@ -12,22 +12,13 @@
#
#
if
[
"
${
TESTSRC
}
"
=
""
]
if
[
"
${
TESTSRC
}
"
=
""
]
then
TESTSRC
=
.
fi
if
[
"
${
TESTJAVA
}
"
=
""
]
then
PARENT
=
`
dirname
\`
which java
\`
`
TESTJAVA
=
`
dirname
${
PARENT
}
`
echo
"TESTJAVA not set, selecting "
${
TESTJAVA
}
echo
"If this is incorrect, try setting the variable manually."
fi
if
[
"
${
TESTCLASSES
}
"
=
""
]
then
then
echo
"TESTCLASSES not set. Test cannot execute. Failed."
TESTSRC
=
${
PWD
}
e
xit
1
e
cho
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
fi
fi
echo
"TESTSRC=
${
TESTSRC
}
"
## Adding common setup Variables for running shell tests.
.
${
TESTSRC
}
/../../test_env.sh
# Jtreg sets TESTVMOPTS which may include -d64 which is
# Jtreg sets TESTVMOPTS which may include -d64 which is
# required to test a 64-bit JVM on some platforms.
# required to test a 64-bit JVM on some platforms.
...
...
test/runtime/7158804/Test7158804.sh
浏览文件 @
aa51a3fc
...
@@ -10,13 +10,14 @@
...
@@ -10,13 +10,14 @@
## @summary Improve config file parsing
## @summary Improve config file parsing
## @run shell Test7158804.sh
## @run shell Test7158804.sh
##
##
if
[
"
${
TESTSRC
}
"
=
""
]
if
[
"
${
TESTJAVA
}
"
=
""
]
then
then
echo
"TESTJAVA not set. Test cannot execute. Failed."
TESTSRC
=
${
PWD
}
e
xit
1
e
cho
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
fi
fi
echo
"TESTJAVA=
${
TESTJAVA
}
"
echo
"TESTSRC=
${
TESTSRC
}
"
## Adding common setup Variables for running shell tests.
.
${
TESTSRC
}
/../../test_env.sh
rm
-f
.hotspotrc
rm
-f
.hotspotrc
echo
-XX
:+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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RC
=
.
fi
if
[
"
${
TESTJAVA
}
"
=
""
]
then
then
PARENT
=
`
dirname
\`
which java
\`
`
TESTSRC
=
${
PWD
}
TESTJAVA
=
`
dirname
${
PARENT
}
`
echo
"TESTSRC not set. Using "
${
TESTSRC
}
" as default"
printf
"TESTJAVA not set, selecting "
${
TESTJAVA
}
printf
" If this is incorrect, try setting the variable manually.
\n
"
fi
fi
echo
"TESTSRC=
${
TESTSRC
}
"
# set platform-dependent variables
## Adding common setup Variables for running shell tests.
OS
=
`
uname
-s
`
.
${
TESTSRC
}
/../../test_env.sh
case
"
$OS
"
in
Windows_
*
)
FS
=
"
\\
"
;;
*
)
FS
=
"/"
;;
esac
JAVA
=
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
JAVA
=
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
...
...
test/test_env.sh
0 → 100644
浏览文件 @
aa51a3fc
#!/bin/sh
#
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
#
# This Environment script was written to capture typically used environment
# setup for a given shell test.
#
# TESTJAVA can be a JDK or JRE. If JRE you need to set COMPILEJAVA
if
[
"
${
TESTJAVA
}
"
=
""
]
then
echo
"TESTJAVA not set. Test cannot execute. Failed."
exit
1
fi
echo
"TESTJAVA=
${
TESTJAVA
}
"
# COMPILEJAVA requires a JDK, some shell test use javac,jar,etc
if
[
"
${
COMPILEJAVA
}
"
=
""
]
then
echo
"COMPILEJAVA not set. Using TESTJAVA as default"
COMPILEJAVA
=
${
TESTJAVA
}
fi
echo
"COMPILEJAVA=
${
COMPILEJAVA
}
"
if
[
"
${
TESTCLASSES
}
"
=
""
]
then
echo
"TESTCLASES not set. Using "
.
" as default"
TESTCLASSES
=
.
fi
echo
"TESTCLASSES=
${
TESTCLASSES
}
"
# set platform-dependent variables
OS
=
`
uname
-s
`
case
"
$OS
"
in
SunOS
|
Linux
|
Darwin
)
NULL
=
/dev/null
PS
=
":"
FS
=
"/"
RM
=
/bin/rm
CP
=
/bin/cp
MV
=
/bin/mv
;;
Windows_
*
)
NULL
=
NUL
PS
=
";"
FS
=
"
\\
"
RM
=
rm
CP
=
cp
MV
=
mv
;;
CYGWIN_
*
)
NULL
=
/dev/null
PS
=
";"
FS
=
"/"
RM
=
rm
CP
=
cp
MV
=
mv
;;
*
)
echo
"Unrecognized system!"
exit
1
;
;;
esac
export
NULL PS FS RM CP MV
echo
"NULL =
${
NULL
}
"
echo
"PS =
${
PS
}
"
echo
"FS =
${
FS
}
"
echo
"RM =
${
RM
}
"
echo
"CP =
${
CP
}
"
echo
"MV =
${
MV
}
"
# jtreg -classpathappend:<path>
JEMMYPATH
=
${
CPAPPEND
}
CLASSPATH
=
.
${
PS
}${
TESTCLASSES
}${
PS
}${
JEMMYPATH
}
;
export
CLASSPATH
echo
"CLASSPATH =
${
CLASSPATH
}
"
# Current directory is scratch directory
THIS_DIR
=
.
echo
"THIS_DIR=
${
THIS_DIR
}
"
# Check to ensure the java defined actually works
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
${
TESTVMOPTS
}
-version
if
[
$?
!=
0
]
;
then
echo
"Wrong TESTJAVA or TESTVMOPTS:"
echo
$TESTJAVA
TESTVMOPTS
exit
1
fi
${
TESTJAVA
}${
FS
}
bin
${
FS
}
java
${
TESTVMOPTS
}
-Xinternalversion
>
vm_version.out 2>&1
VM_TYPE
=
"unknown"
grep
"Server"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_TYPE
=
"server"
fi
grep
"Client"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_TYPE
=
"client"
fi
VM_BITS
=
"32"
grep
"64-Bit"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_BITS
=
"64"
fi
VM_OS
=
"unknown"
grep
"solaris"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_OS
=
"solaris"
fi
grep
"linux"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_OS
=
"linux"
fi
grep
"windows"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_OS
=
"windows"
fi
grep
"bsd"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_OS
=
"bsd"
fi
VM_CPU
=
"unknown"
grep
"sparc"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_CPU
=
"sparc"
if
[
$VM_BITS
=
"64"
]
then
VM_CPU
=
"sparcv9"
fi
fi
grep
"x86"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_CPU
=
"i386"
fi
grep
"amd64"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_CPU
=
"amd64"
fi
grep
"arm"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_CPU
=
"arm"
fi
grep
"ppc"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_CPU
=
"ppc"
fi
grep
"ia64"
vm_version.out
>
${
NULL
}
if
[
$?
=
0
]
then
VM_CPU
=
"ia64"
fi
export
VM_TYPE VM_BITS VM_OS VM_CPU
echo
"VM_TYPE=
${
VM_TYPE
}
"
echo
"VM_BITS=
${
VM_BITS
}
"
echo
"VM_OS=
${
VM_OS
}
"
echo
"VM_CPU=
${
VM_CPU
}
"
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录