diff options
| author | Scott Murray <scott.murray@konsulko.com> | 2022-02-13 16:06:51 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-21 23:37:26 +0000 |
| commit | 3c971c0400799a8d6c12d51a2fc428812e33bbc0 (patch) | |
| tree | 7118d6ce1fdb4d407b6f47c0ad3130f1ce62bd6c /bitbake/lib/bb/tests | |
| parent | 18a400d117ad953103aa996c9a0bf34316d8dc3b (diff) | |
| download | poky-3c971c0400799a8d6c12d51a2fc428812e33bbc0.tar.gz | |
bitbake: bitbake: Rename setscene enforce filtering variable
In line with the inclusive language migration defined at:
https://wiki.yoctoproject.org/wiki/Inclusive_language
rename:
BB_SETSCENE_ENFORCE_WHITELIST -> BB_SETSCENE_ENFORCE_IGNORE_TASKS
(Bitbake rev: 2e243ac06581c4de8c6e697dfba460ca017d067c)
(Bitbake rev: f8f7b80a0df4646247e58238a52a7d85a37116d4)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tests')
| -rw-r--r-- | bitbake/lib/bb/tests/runqueue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/tests/runqueue.py b/bitbake/lib/bb/tests/runqueue.py index 79b79b5a7c..061a5a1f80 100644 --- a/bitbake/lib/bb/tests/runqueue.py +++ b/bitbake/lib/bb/tests/runqueue.py | |||
| @@ -154,12 +154,12 @@ class RunQueueTests(unittest.TestCase): | |||
| 154 | 154 | ||
| 155 | self.shutdown(tempdir) | 155 | self.shutdown(tempdir) |
| 156 | 156 | ||
| 157 | def test_setscenewhitelist(self): | 157 | def test_setscene_ignore_tasks(self): |
| 158 | with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: | 158 | with tempfile.TemporaryDirectory(prefix="runqueuetest") as tempdir: |
| 159 | cmd = ["bitbake", "a1"] | 159 | cmd = ["bitbake", "a1"] |
| 160 | extraenv = { | 160 | extraenv = { |
| 161 | "BB_SETSCENE_ENFORCE" : "1", | 161 | "BB_SETSCENE_ENFORCE" : "1", |
| 162 | "BB_SETSCENE_ENFORCE_WHITELIST" : "a1:do_package_write_rpm a1:do_build" | 162 | "BB_SETSCENE_ENFORCE_IGNORE_TASKS" : "a1:do_package_write_rpm a1:do_build" |
| 163 | } | 163 | } |
| 164 | sstatevalid = "a1:do_package a1:do_package_qa a1:do_packagedata a1:do_package_write_ipk a1:do_populate_lic a1:do_populate_sysroot" | 164 | sstatevalid = "a1:do_package a1:do_package_qa a1:do_packagedata a1:do_package_write_ipk a1:do_populate_lic a1:do_populate_sysroot" |
| 165 | tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid, extraenv=extraenv) | 165 | tasks = self.run_bitbakecmd(cmd, tempdir, sstatevalid, extraenv=extraenv) |
