diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/wrapper.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/wrapper.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/wrapper.py b/meta/lib/oeqa/selftest/cases/wrapper.py new file mode 100644 index 0000000000..f2be44262c --- /dev/null +++ b/meta/lib/oeqa/selftest/cases/wrapper.py | |||
@@ -0,0 +1,16 @@ | |||
1 | # | ||
2 | # Copyright OpenEmbedded Contributors | ||
3 | # | ||
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
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) | ||