Files
openwrt_yocto/poky/meta/lib/oeqa/selftest/cases/wrapper.py
T
francis.wang 4c86c082a2 Initial commit: OpenWrt-Yocto monorepo
Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and
meta-openwrt into a single repository.

Components:
- poky/             Yocto core framework (BitBake + OE-Core)
- meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking)
- meta-openwrt/     OpenWrt customization layer
- setup-env.sh      One-click build environment setup
- README.md         Project documentation
2026-07-11 13:28:01 +08:00

17 lines
548 B
Python

#
# 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)