harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From var...@apache.org
Subject svn commit: r584121 - in /harmony/enhanced/drlvm/trunk/src/test/regression/H3098: ./ JsrNoRet.j JsrNoRetTest.java run.test.xml
Date Fri, 12 Oct 2007 10:39:27 GMT
Author: varlax
Date: Fri Oct 12 03:39:26 2007
New Revision: 584121

URL: http://svn.apache.org/viewvc?rev=584121&view=rev
Log:
Reg-test for H3098 added.

Added:
    harmony/enhanced/drlvm/trunk/src/test/regression/H3098/
    harmony/enhanced/drlvm/trunk/src/test/regression/H3098/JsrNoRet.j
    harmony/enhanced/drlvm/trunk/src/test/regression/H3098/JsrNoRetTest.java
    harmony/enhanced/drlvm/trunk/src/test/regression/H3098/run.test.xml

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H3098/JsrNoRet.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3098/JsrNoRet.j?rev=584121&view=auto
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3098/JsrNoRet.j (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3098/JsrNoRet.j Fri Oct 12 03:39:26
2007
@@ -0,0 +1,29 @@
+.class public org/apache/harmony/drlvm/tests/regression/h3098/JsrNoRet
+.super java/lang/Object 
+.method public <init>()V 
+    aload_0 
+    invokespecial java/lang/Object/<init>()V 
+    return 
+.end method 
+.method public static testcase()V 
+    .limit stack 2 
+    .limit locals 2
+
+    jsr LabelSub1
+    jsr LabelSub2
+    return
+
+LabelSub1:
+    astore 1
+    jsr LabelSub3
+
+LabelSub2:
+    astore 1
+    ret 1
+
+LabelSub3:
+;    return
+    ret 1
+    
+.end method
+

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H3098/JsrNoRetTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3098/JsrNoRetTest.java?rev=584121&view=auto
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3098/JsrNoRetTest.java (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3098/JsrNoRetTest.java Fri Oct 12 03:39:26
2007
@@ -0,0 +1,10 @@
+package org.apache.harmony.drlvm.tests.regression.h3098;
+
+import junit.framework.TestCase;
+
+public class JsrNoRetTest extends TestCase {
+
+    public void test() throws Exception {
+        JsrNoRet.testcase();
+    }
+}

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H3098/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H3098/run.test.xml?rev=584121&view=auto
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H3098/run.test.xml (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H3098/run.test.xml Fri Oct 12 03:39:26
2007
@@ -0,0 +1,13 @@
+<project name="RUN HARMONY-3098 Regression Test">
+    <target name="run-test">
+        <run-junit-test
+            test="org.apache.harmony.drlvm.tests.regression.h3098.JsrNoRetTest"
+            vmarg="-Xem:jet">
+        </run-junit-test>
+        <run-junit-test
+            test="org.apache.harmony.drlvm.tests.regression.h3098.JsrNoRetTest"
+            vmarg="-Xem:opt">
+        </run-junit-test>
+    </target>
+</project>
+



Mime
View raw message