summaryrefslogtreecommitdiffstats
path: root/lib/oeqa/runtime/cases/java.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oeqa/runtime/cases/java.py')
-rw-r--r--lib/oeqa/runtime/cases/java.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/oeqa/runtime/cases/java.py b/lib/oeqa/runtime/cases/java.py
index f2375a4..661b208 100644
--- a/lib/oeqa/runtime/cases/java.py
+++ b/lib/oeqa/runtime/cases/java.py
@@ -3,7 +3,7 @@ import os
3from oeqa.runtime.case import OERuntimeTestCase 3from oeqa.runtime.case import OERuntimeTestCase
4from oeqa.core.decorator.depends import OETestDepends 4from oeqa.core.decorator.depends import OETestDepends
5from oeqa.core.decorator.oeid import OETestID 5from oeqa.core.decorator.oeid import OETestID
6from oeqa.core.decorator.data import skipIfDataVar 6from oeqa.core.decorator.data import skipIfDataVar, skipIfInDataVar
7from oeqa.runtime.decorator.package import OEHasPackage 7from oeqa.runtime.decorator.package import OEHasPackage
8 8
9class JavaTest(OERuntimeTestCase): 9class JavaTest(OERuntimeTestCase):
@@ -70,7 +70,9 @@ class JavaTest(OERuntimeTestCase):
70 # test for now. 70 # test for now.
71 @OEHasPackage(["openjre-8", "openjdk-8"]) 71 @OEHasPackage(["openjre-8", "openjdk-8"])
72 @OETestDepends(['java.JavaTest.test_java_exists']) 72 @OETestDepends(['java.JavaTest.test_java_exists'])
73 @skipIfDataVar('ARCH', 'arm', 'OpenJDK 8 compiled mode not yet supported for arm') 73 @skipIfInDataVar('TUNE_FEATURES', 'armv4', 'OpenJDK 8 compiled mode not yet supported for armv4')
74 @skipIfInDataVar('TUNE_FEATURES', 'armv5', 'OpenJDK 8 compiled mode not yet supported for armv5')
75 @skipIfInDataVar('TUNE_FEATURES', 'armv6', 'OpenJDK 8 compiled mode not yet supported for armv6')
74 def test_java8_jar_comp_mode(self): 76 def test_java8_jar_comp_mode(self):
75 status, output = self.target.run('java -showversion -Xcomp -jar /tmp/test.jar') 77 status, output = self.target.run('java -showversion -Xcomp -jar /tmp/test.jar')
76 msg = 'Exit status was not 0. Output: %s' % output 78 msg = 'Exit status was not 0. Output: %s' % output