aboutsummaryrefslogtreecommitdiffstats
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.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oeqa/runtime/cases/java.py b/lib/oeqa/runtime/cases/java.py
index c1e1498..d366d61 100644
--- a/lib/oeqa/runtime/cases/java.py
+++ b/lib/oeqa/runtime/cases/java.py
@@ -20,6 +20,7 @@ class JavaTest(OERuntimeTestCase):
cls.tc.target.run('rm %s' % dst)
@OETestDepends(['ssh.SSHTest.test_ssh'])
+ @OEHasPackage(["openjdk-7-jre", "openjdk-7", "openjre-8", "openjdk-8"])
def test_java_exists(self):
status, output = self.target.run('which java')
msg = 'java binary not in PATH or not on target.'