diff options
| author | Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com> | 2023-12-07 16:49:44 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-08 17:17:42 +0000 |
| commit | ad2f5a359e7368f0bf1a6d7d2f01a0f8080387d7 (patch) | |
| tree | ecb66a5ebdfb5387f0f949054c92490f0bada2a2 /bitbake/lib/toaster/tests/commands | |
| parent | 1b14962c3fae771f50d6a8e1937a93c7ce76f592 (diff) | |
| download | poky-ad2f5a359e7368f0bf1a6d7d2f01a0f8080387d7.tar.gz | |
bitbake: toaster/tests: Update build test
Updated build tests in toaster, added SSTATE_MIRROR to package build, changed build directory and update test order
This builds include the core-minimal-image, on the test enviroment a smaller package was use to run the test for time purposes
(Bitbake rev: af31116f0017912fc5a58a5976c814b6b326985f)
Signed-off-by: Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/tests/commands')
| -rw-r--r-- | bitbake/lib/toaster/tests/commands/test_loaddata.py | 4 | ||||
| -rw-r--r-- | bitbake/lib/toaster/tests/commands/test_lsupdates.py | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/tests/commands/test_loaddata.py b/bitbake/lib/toaster/tests/commands/test_loaddata.py index 9e8d5553cf..7d04f030ee 100644 --- a/bitbake/lib/toaster/tests/commands/test_loaddata.py +++ b/bitbake/lib/toaster/tests/commands/test_loaddata.py | |||
| @@ -6,13 +6,13 @@ | |||
| 6 | # | 6 | # |
| 7 | # SPDX-License-Identifier: GPL-2.0-only | 7 | # SPDX-License-Identifier: GPL-2.0-only |
| 8 | # | 8 | # |
| 9 | 9 | import pytest | |
| 10 | from django.test import TestCase | 10 | from django.test import TestCase |
| 11 | from django.core import management | 11 | from django.core import management |
| 12 | 12 | ||
| 13 | from orm.models import Layer_Version, Layer, Release, ToasterSetting | 13 | from orm.models import Layer_Version, Layer, Release, ToasterSetting |
| 14 | 14 | ||
| 15 | 15 | @pytest.mark.order(2) | |
| 16 | class TestLoadDataFixtures(TestCase): | 16 | class TestLoadDataFixtures(TestCase): |
| 17 | """ Test loading our 3 provided fixtures """ | 17 | """ Test loading our 3 provided fixtures """ |
| 18 | def test_run_loaddata_poky_command(self): | 18 | def test_run_loaddata_poky_command(self): |
diff --git a/bitbake/lib/toaster/tests/commands/test_lsupdates.py b/bitbake/lib/toaster/tests/commands/test_lsupdates.py index 3c4fbe0550..30c6eeb4ac 100644 --- a/bitbake/lib/toaster/tests/commands/test_lsupdates.py +++ b/bitbake/lib/toaster/tests/commands/test_lsupdates.py | |||
| @@ -7,12 +7,13 @@ | |||
| 7 | # SPDX-License-Identifier: GPL-2.0-only | 7 | # SPDX-License-Identifier: GPL-2.0-only |
| 8 | # | 8 | # |
| 9 | 9 | ||
| 10 | import pytest | ||
| 10 | from django.test import TestCase | 11 | from django.test import TestCase |
| 11 | from django.core import management | 12 | from django.core import management |
| 12 | 13 | ||
| 13 | from orm.models import Layer_Version, Machine, Recipe | 14 | from orm.models import Layer_Version, Machine, Recipe |
| 14 | 15 | ||
| 15 | 16 | @pytest.mark.order(3) | |
| 16 | class TestLayerIndexUpdater(TestCase): | 17 | class TestLayerIndexUpdater(TestCase): |
| 17 | def test_run_lsupdates_command(self): | 18 | def test_run_lsupdates_command(self): |
| 18 | # Load some release information for us to fetch from the layer index | 19 | # Load some release information for us to fetch from the layer index |
