diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-04 11:16:16 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-04 21:33:33 +0100 |
| commit | 5497a2ea1a16006f0d9583d5608685f78464eb56 (patch) | |
| tree | 654f3e9b0335409289f7412566574ac77c15978f | |
| parent | 3eb62900158f4e65cd8e3f80d437a4e7c75e78d0 (diff) | |
| download | poky-5497a2ea1a16006f0d9583d5608685f78464eb56.tar.gz | |
oeqa/selftest/oescripts: Ensure buildstats is present
(From OE-Core rev: 168af2bd3eaab04feb313677c298b5e2ae6e036b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/oescripts.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/oescripts.py b/meta/lib/oeqa/selftest/cases/oescripts.py index 64fb3f1a1d..ebaf01f777 100644 --- a/meta/lib/oeqa/selftest/cases/oescripts.py +++ b/meta/lib/oeqa/selftest/cases/oescripts.py | |||
| @@ -18,6 +18,10 @@ class OEPybootchartguyTests(OESelftestTestCase): | |||
| 18 | @classmethod | 18 | @classmethod |
| 19 | def setUpClass(cls): | 19 | def setUpClass(cls): |
| 20 | super().setUpClass() | 20 | super().setUpClass() |
| 21 | cls.write_config(cls, | ||
| 22 | """ | ||
| 23 | INHERIT += "buildstats" | ||
| 24 | """) | ||
| 21 | bitbake("core-image-minimal -c rootfs -f") | 25 | bitbake("core-image-minimal -c rootfs -f") |
| 22 | cls.tmpdir = get_bb_var('TMPDIR') | 26 | cls.tmpdir = get_bb_var('TMPDIR') |
| 23 | cls.buildstats = cls.tmpdir + "/buildstats/" + sorted(os.listdir(cls.tmpdir + "/buildstats"))[-1] | 27 | cls.buildstats = cls.tmpdir + "/buildstats/" + sorted(os.listdir(cls.tmpdir + "/buildstats"))[-1] |
