Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 1 | # |
| 2 | # Copyright OpenEmbedded Contributors |
| 3 | # |
| 4 | # SPDX-License-Identifier: MIT |
| 5 | # |
Andrew Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 6 | from oeqa.selftest.case import OESelftestTestCase |
| 7 | from oeqa.utils.commands import bitbake |
| 8 | |
| 9 | class WrapperTests(OESelftestTestCase): |
| 10 | def test_shebang_wrapper(self): |
| 11 | """ |
| 12 | Summary: Build a recipe which will fail if the cmdline_shebang_wrapper function is defective. |
| 13 | Expected: Exit status to be 0. |
| 14 | Author: Paulo Neves <ptsneves@gmail.com> |
| 15 | """ |
| 16 | res = bitbake("cmdline-shebang-wrapper-test -c install", ignore_status=False) |