Mercurial > hg > truffle
annotate test/runtime/7020373/Test7020373.sh @ 11579:ae619d70bf4b
Rename LoweringType to GuardsPhase and make it an attribute of StructuredGraphs
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 10 Sep 2013 11:15:15 +0200 |
parents | 04d6d4322c6a |
children |
rev | line source |
---|---|
3862
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
1 #!/bin/sh |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
2 |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
3 ## |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
4 ## @test |
6242
fe94b4e7212b
7185550: TEST: runtime/7020373/Test7020373.sh fails because there is no test/runtime/7020373/testcase.jar
asaha
parents:
6230
diff
changeset
|
5 ## @bug 7020373 7055247 7053586 7185550 |
3862
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
6 ## @key cte_test |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
7 ## @summary JSR rewriting can overflow memory address size variables |
6242
fe94b4e7212b
7185550: TEST: runtime/7020373/Test7020373.sh fails because there is no test/runtime/7020373/testcase.jar
asaha
parents:
6230
diff
changeset
|
8 ## @ignore Ignore it as 7053586 test uses lots of memory. See bug report for detail. |
3862
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
9 ## @run shell Test7020373.sh |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
10 ## |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
11 |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
12 if [ "${TESTSRC}" = "" ] |
8831
04d6d4322c6a
8009152: A number of jtreg tests need review/improvement
collins
parents:
6635
diff
changeset
|
13 then |
04d6d4322c6a
8009152: A number of jtreg tests need review/improvement
collins
parents:
6635
diff
changeset
|
14 TESTSRC=${PWD} |
04d6d4322c6a
8009152: A number of jtreg tests need review/improvement
collins
parents:
6635
diff
changeset
|
15 echo "TESTSRC not set. Using "${TESTSRC}" as default" |
3862
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
16 fi |
8831
04d6d4322c6a
8009152: A number of jtreg tests need review/improvement
collins
parents:
6635
diff
changeset
|
17 echo "TESTSRC=${TESTSRC}" |
04d6d4322c6a
8009152: A number of jtreg tests need review/improvement
collins
parents:
6635
diff
changeset
|
18 ## Adding common setup Variables for running shell tests. |
04d6d4322c6a
8009152: A number of jtreg tests need review/improvement
collins
parents:
6635
diff
changeset
|
19 . ${TESTSRC}/../../test_env.sh |
3862
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
20 |
8831
04d6d4322c6a
8009152: A number of jtreg tests need review/improvement
collins
parents:
6635
diff
changeset
|
21 ${COMPILEJAVA}${FS}bin${FS}jar xvf ${TESTSRC}${FS}testcase.jar |
3862
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
22 |
6074
037973617842
7157734: hotspot test scripts not testing 64-bit JVM under JPRT/JTREG.
kevinw
parents:
3863
diff
changeset
|
23 ${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} OOMCrashClass4000_1 > test.out 2>&1 |
3862
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
24 |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
25 cat test.out |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
26 |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
27 egrep "SIGSEGV|An unexpected error has been detected" test.out |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
28 |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
29 if [ $? = 0 ] |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
30 then |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
31 echo "Test Failed" |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
32 exit 1 |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
33 else |
6230
149c36689fcb
7053586: TEST: runtime/7020373/Test7020373.sh fails on 64-bit platforms
asaha
parents:
6074
diff
changeset
|
34 egrep "java.lang.LinkageError|java.lang.NoSuchMethodError|Main method not found in class OOMCrashClass4000_1|insufficient memory" test.out |
3862
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
35 if [ $? = 0 ] |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
36 then |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
37 echo "Test Passed" |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
38 exit 0 |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
39 else |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
40 echo "Test Failed" |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
41 exit 1 |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
42 fi |
52e4ba46751f
7020373: JSR rewriting can overflow memory address size variables
kamg
parents:
diff
changeset
|
43 fi |