Mercurial > hg > graal-compiler
comparison test/runtime/7020373/Test7020373.sh @ 6230:149c36689fcb
7053586: TEST: runtime/7020373/Test7020373.sh fails on 64-bit platforms
Reviewed-by: kamg
author | asaha |
---|---|
date | Tue, 17 Jul 2012 22:16:17 -0700 |
parents | 037973617842 |
children | fe94b4e7212b |
comparison
equal
deleted
inserted
replaced
6229:d900d95bfdb0 | 6230:149c36689fcb |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 ## | 3 ## |
4 ## @test | 4 ## @test |
5 ## @bug 7020373 7055247 | 5 ## @bug 7020373 7055247 7053586 |
6 ## @key cte_test | 6 ## @key cte_test |
7 ## @summary JSR rewriting can overflow memory address size variables | 7 ## @summary JSR rewriting can overflow memory address size variables |
8 ## @ignore Ignore it until 7053586 fixed | |
9 ## @run shell Test7020373.sh | 8 ## @run shell Test7020373.sh |
10 ## | 9 ## |
11 | 10 |
12 if [ "${TESTSRC}" = "" ] | 11 if [ "${TESTSRC}" = "" ] |
13 then TESTSRC=. | 12 then TESTSRC=. |
28 fi | 27 fi |
29 | 28 |
30 # set platform-dependent variables | 29 # set platform-dependent variables |
31 OS=`uname -s` | 30 OS=`uname -s` |
32 case "$OS" in | 31 case "$OS" in |
33 SunOS | Linux ) | 32 SunOS | Linux | Darwin ) |
34 NULL=/dev/null | 33 NULL=/dev/null |
35 PS=":" | 34 PS=":" |
36 FS="/" | 35 FS="/" |
37 ;; | 36 ;; |
38 Windows_* ) | 37 Windows_* ) |
64 if [ $? = 0 ] | 63 if [ $? = 0 ] |
65 then | 64 then |
66 echo "Test Failed" | 65 echo "Test Failed" |
67 exit 1 | 66 exit 1 |
68 else | 67 else |
69 grep "java.lang.LinkageError" test.out | 68 egrep "java.lang.LinkageError|java.lang.NoSuchMethodError|Main method not found in class OOMCrashClass4000_1|insufficient memory" test.out |
70 if [ $? = 0 ] | 69 if [ $? = 0 ] |
71 then | 70 then |
72 echo "Test Passed" | 71 echo "Test Passed" |
73 exit 0 | 72 exit 0 |
74 else | 73 else |