summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/wrapper.py
blob: f2be44262c5600cb22647df2c1e85d5bb34bafb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# Copyright OpenEmbedded Contributors
#
# SPDX-License-Identifier: MIT
#
from oeqa.selftest.case import OESelftestTestCase
from oeqa.utils.commands import bitbake

class WrapperTests(OESelftestTestCase):
    def test_shebang_wrapper(self):
        """
        Summary:   Build a recipe which will fail if the cmdline_shebang_wrapper function is defective.
        Expected:  Exit status to be 0.
        Author:    Paulo Neves <ptsneves@gmail.com>
        """
        res = bitbake("cmdline-shebang-wrapper-test -c install", ignore_status=False)