mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 18:02:12 +01:00
Clean up lots of dependency checking code by using the new helpers. This means that a lot of tests that were previously skipped inside the eSDK testing on the autobuilder are now executed, and fail. (From OE-Core rev: 11277efd057685558a744e98082b5709e849dd2a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
474 B
Python
20 lines
474 B
Python
#
|
|
# Copyright OpenEmbedded Contributors
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
|
|
from oeqa.sdk.case import OESDKTestCase
|
|
|
|
from oeqa.utils.subprocesstweak import errors_have_output
|
|
errors_have_output()
|
|
|
|
class PerlTest(OESDKTestCase):
|
|
def setUp(self):
|
|
self.ensure_host_package("perl")
|
|
|
|
def test_perl(self):
|
|
cmd = "perl -e '$_=\"Uryyb, jbeyq\"; tr/a-zA-Z/n-za-mN-ZA-M/;print'"
|
|
output = self._run(cmd)
|
|
self.assertEqual(output, "Hello, world")
|