diff options
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/recipeutils.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/recipeutils.py | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/meta/lib/oeqa/selftest/cases/recipeutils.py b/meta/lib/oeqa/selftest/cases/recipeutils.py index 747870383b..2cb4445f81 100644 --- a/meta/lib/oeqa/selftest/cases/recipeutils.py +++ b/meta/lib/oeqa/selftest/cases/recipeutils.py | |||
@@ -1,15 +1,13 @@ | |||
1 | # | 1 | # |
2 | # Copyright OpenEmbedded Contributors | ||
3 | # | ||
2 | # SPDX-License-Identifier: MIT | 4 | # SPDX-License-Identifier: MIT |
3 | # | 5 | # |
4 | 6 | ||
5 | import os | ||
6 | import re | ||
7 | import time | ||
8 | import logging | ||
9 | import bb.tinfoil | 7 | import bb.tinfoil |
10 | 8 | ||
11 | from oeqa.selftest.case import OESelftestTestCase | 9 | from oeqa.selftest.case import OESelftestTestCase |
12 | from oeqa.utils.commands import runCmd, get_test_layer | 10 | from oeqa.utils.commands import get_test_layer |
13 | 11 | ||
14 | 12 | ||
15 | def setUpModule(): | 13 | def setUpModule(): |
@@ -40,7 +38,7 @@ class RecipeUtilsTests(OESelftestTestCase): | |||
40 | SUMMARY = "Python framework to process interdependent tasks in a pool of workers" | 38 | SUMMARY = "Python framework to process interdependent tasks in a pool of workers" |
41 | HOMEPAGE = "http://github.com/gitpython-developers/async" | 39 | HOMEPAGE = "http://github.com/gitpython-developers/async" |
42 | SECTION = "devel/python" | 40 | SECTION = "devel/python" |
43 | -LICENSE = "BSD" | 41 | -LICENSE = "BSD-3-Clause" |
44 | +LICENSE = "something" | 42 | +LICENSE = "something" |
45 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=88df8e78b9edfd744953862179f2d14e" | 43 | LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=88df8e78b9edfd744953862179f2d14e" |
46 | 44 | ||
@@ -52,7 +50,7 @@ class RecipeUtilsTests(OESelftestTestCase): | |||
52 | +SRC_URI[md5sum] = "aaaaaa" | 50 | +SRC_URI[md5sum] = "aaaaaa" |
53 | SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051" | 51 | SRC_URI[sha256sum] = "ac6894d876e45878faae493b0cf61d0e28ec417334448ac0a6ea2229d8343051" |
54 | 52 | ||
55 | RDEPENDS_${PN} += "${PYTHON_PN}-threading" | 53 | RDEPENDS:${PN} += "python3-threading" |
56 | """ | 54 | """ |
57 | patchlines = [] | 55 | patchlines = [] |
58 | for f in patches: | 56 | for f in patches: |
@@ -80,7 +78,7 @@ class RecipeUtilsTests(OESelftestTestCase): | |||
80 | 78 | ||
81 | -SRC_URI += "file://somefile" | 79 | -SRC_URI += "file://somefile" |
82 | - | 80 | - |
83 | SRC_URI_append = " file://anotherfile" | 81 | SRC_URI:append = " file://anotherfile" |
84 | """ | 82 | """ |
85 | patchlines = [] | 83 | patchlines = [] |
86 | for f in patches: | 84 | for f in patches: |
@@ -105,7 +103,7 @@ class RecipeUtilsTests(OESelftestTestCase): | |||
105 | 103 | ||
106 | -SRC_URI += "file://somefile" | 104 | -SRC_URI += "file://somefile" |
107 | - | 105 | - |
108 | -SRC_URI_append = " file://anotherfile" | 106 | -SRC_URI:append = " file://anotherfile" |
109 | """ | 107 | """ |
110 | patchlines = [] | 108 | patchlines = [] |
111 | for f in patches: | 109 | for f in patches: |