summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/oeqa/runtime/cases/java.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oeqa/runtime/cases/java.py b/lib/oeqa/runtime/cases/java.py
index c1e1498..efee6e1 100644
--- a/lib/oeqa/runtime/cases/java.py
+++ b/lib/oeqa/runtime/cases/java.py
@@ -69,12 +69,12 @@ class JavaTest(OERuntimeTestCase):
69 69
70 # As OpenJDK-8 doesn't support compiled mode (JIT) for arm yet we skip this 70 # As OpenJDK-8 doesn't support compiled mode (JIT) for arm yet we skip this
71 # test for now. 71 # test for now.
72 @OEHasPackage(["openjre-8", "openjdk-8"]) 72 @OEHasPackage(["!openjdk-7-jre", "!openjdk-7"])
73 @OETestDepends(['java.JavaTest.test_java_exists']) 73 @OETestDepends(['java.JavaTest.test_java_exists'])
74 @skipIfInDataVar('TUNE_FEATURES', 'armv4', 'OpenJDK 8 compiled mode not yet supported for armv4') 74 @skipIfInDataVar('TUNE_FEATURES', 'armv4', 'OpenJDK 8 compiled mode not yet supported for armv4')
75 @skipIfInDataVar('TUNE_FEATURES', 'armv5', 'OpenJDK 8 compiled mode not yet supported for armv5') 75 @skipIfInDataVar('TUNE_FEATURES', 'armv5', 'OpenJDK 8 compiled mode not yet supported for armv5')
76 @skipIfInDataVar('TUNE_FEATURES', 'armv6', 'OpenJDK 8 compiled mode not yet supported for armv6') 76 @skipIfInDataVar('TUNE_FEATURES', 'armv6', 'OpenJDK 8 compiled mode not yet supported for armv6')
77 def test_java8_jar_comp_mode(self): 77 def test_java_jar_comp_mode(self):
78 status, output = self.target.run('java -showversion -Xcomp -jar /tmp/test.jar') 78 status, output = self.target.run('java -showversion -Xcomp -jar /tmp/test.jar')
79 msg = 'Exit status was not 0. Output: %s' % output 79 msg = 'Exit status was not 0. Output: %s' % output
80 self.assertEqual(status, 0, msg=msg) 80 self.assertEqual(status, 0, msg=msg)