diff options
author | Frederic Martinsons <frederic.martinsons@gmail.com> | 2023-08-02 15:16:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-09 13:22:00 +0100 |
commit | e9a09c8012931c8b4b22cb1de3fc7d967af11f0a (patch) | |
tree | f39df442884f4ef7016f43a6537c5ae96a408e85 /meta/lib/oeqa | |
parent | 2dd04232e77c88a251c19e60f148f6a0fe02e691 (diff) | |
download | poky-e9a09c8012931c8b4b22cb1de3fc7d967af11f0a.tar.gz |
rust-hello-world: Drop recipe
we now have more rust/cargo recipes and tests that cover various use cases
so this is no longer needed.
(From OE-Core rev: 8baaf94d200f5355791ecd980727698b1ab0e539)
Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/runtime/cases/rust.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/meta/lib/oeqa/runtime/cases/rust.py b/meta/lib/oeqa/runtime/cases/rust.py index c9c60e16fd..9bf0312669 100644 --- a/meta/lib/oeqa/runtime/cases/rust.py +++ b/meta/lib/oeqa/runtime/cases/rust.py | |||
@@ -48,15 +48,3 @@ class RustCompileTest(OERuntimeTestCase): | |||
48 | status, output = self.target.run('cargo run --manifest-path=/tmp/hello/Cargo.toml') | 48 | status, output = self.target.run('cargo run --manifest-path=/tmp/hello/Cargo.toml') |
49 | msg = 'running compiled file failed, output: %s' % output | 49 | msg = 'running compiled file failed, output: %s' % output |
50 | self.assertEqual(status, 0, msg=msg) | 50 | self.assertEqual(status, 0, msg=msg) |
51 | |||
52 | class RustHelloworldTest(OERuntimeTestCase): | ||
53 | @OETestDepends(['ssh.SSHTest.test_ssh']) | ||
54 | @OEHasPackage(['rust-hello-world']) | ||
55 | def test_rusthelloworld(self): | ||
56 | cmd = "rust-hello-world" | ||
57 | status, output = self.target.run(cmd) | ||
58 | msg = 'Exit status was not 0. Output: %s' % output | ||
59 | self.assertEqual(status, 0, msg=msg) | ||
60 | |||
61 | msg = 'Incorrect output: %s' % output | ||
62 | self.assertEqual(output, "Hello, world!", msg=msg) | ||