@@ -24,7 +24,8 @@ class RustCompileTest(OERuntimeTestCase):
cls.tc.target.run('rm -r %s' % dirs)
@OETestDepends(['ssh.SSHTest.test_ssh'])
- @OEHasPackage(['rust'])
+ @OEHasPackage('rust')
+ @OEHasPackage('openssh-scp')
def test_rust_compile(self):
status, output = self.target.run('rustc /tmp/test.rs -o /tmp/test')
msg = 'rust compile failed, output: %s' % output
@@ -35,7 +36,8 @@ class RustCompileTest(OERuntimeTestCase):
self.assertEqual(status, 0, msg=msg)
@OETestDepends(['ssh.SSHTest.test_ssh'])
- @OEHasPackage(['cargo'])
+ @OEHasPackage('cargo')
+ @OEHasPackage('openssh-scp')
def test_cargo_compile(self):
status, output = self.target.run('cargo new /tmp/hello')
msg = 'cargo new failed, output: %s' % output