Skip to contentSkip to conversation

toaster: Update fixtures for wrynose release

PATCH In review Richard Purdie 2 participants 2 messages Mar 25

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toaster: Update fixtures for wrynose release

Update the fixtures for toaster to add wynose. Update the tests to match.

---
 lib/toaster/orm/fixtures/gen_fixtures.py      |  8 +--
 lib/toaster/orm/fixtures/oe-core.xml          | 49 ++++++-------
 lib/toaster/orm/fixtures/poky.xml             | 72 +++++++++----------
 .../functional/test_create_new_project.py     | 25 +++++--
 4 files changed, 86 insertions(+), 68 deletions(-)
lib/toaster/orm/fixtures/gen_fixtures.py +4 -4
index 4b87ba0baab..9488ce852e3 100755
@@ -35,19 +35,19 @@ verbose = False
 # [0=Codename, 1=Yocto Project Version, 2=Release Date, 3=Current Version, 4=Support Level, 5=Poky Version, 6=BitBake branch]
 current_releases = [
     # Release slot #1
-    ['Scarthgap','5.0','April 2024','5.0.0 (April 2024)','Long Term Support (until April 2028)','','2.8'],
+    ['Wrynose','6.0','April 2026','6.0 (April 2026)','Long Term Support (until April 2030)','','2.16'],
     # Release slot #2 'local'
     ['HEAD','HEAD','','Local Yocto Project','HEAD','','HEAD'],
     # Release slot #3 'master'
     ['Master','master','','Yocto Project master','master','','master'],
     # Release slot #4
-    ['Whinlatter','5.3','October 2025','5.3.0 (October 2024)','Support for 7 months (until May 2026)','','2.14'],
-    ['Walnascar','5.2','April 2025','5.2.0 (April 2025)','Support for 7 months (until October 2025)','','2.12'],
+    ['Scarthgap','5.0','April 2024','5.0 (April 2024)','Long Term Support (until April 2028)','','2.8'],
     #['Styhead','5.1','November 2024','5.1.0 (November 2024)','Support for 7 months (until May 2025)','','2.10'],
     #['Nanbield','4.3','November 2023','4.3.0 (November 2023)','Support for 7 months (until May 2024)','','2.6'],
     #['Mickledore','4.2','April 2023','4.2.0 (April 2023)','Support for 7 months (until October 2023)','','2.4'],
     #['Langdale','4.1','October 2022','4.1.2 (January 2023)','Support for 7 months (until May 2023)','','2.2'],
-    ['Kirkstone','4.0','April 2022','4.0.8 (March 2023)','Stable - Long Term Support (until Apr. 2024)','','2.0'],
+    ['Kirkstone','4.0','April 2022','4.0 (March 2023)','Stable - Long Term Support (until Apr. 2024)','','2.0'],
+    ['Whinlatter','5.3','October 2025','5.3 (October 2024)','Support for 7 months (until May 2026)','','2.14'],
     #['Honister','3.4','October 2021','3.4.2 (February 2022)','Support for 7 months (until May 2022)','26.0','1.52'],
     #['Hardknott','3.3','April 2021','3.3.5 (March 2022)','Stable - Support for 13 months (until Apr. 2022)','25.0','1.50'],
     #['Gatesgarth','3.2','Oct 2020','3.2.4 (May 2021)','EOL','24.0','1.48'],
lib/toaster/orm/fixtures/oe-core.xml +25 -24

94 lines not on this page · raw message

lib/toaster/orm/fixtures/poky.xml +36 -36

187 lines not on this page · raw message

lib/toaster/tests/functional/test_create_new_project.py +21 -4
index 51c8c120370..5de3c06f123 100644
@@ -31,13 +31,30 @@ class TestCreateNewProject(SeleniumFunctionalTestCase):
             False,
         )
 
-    def test_create_new_project_scarthgap(self):
+    def test_create_new_project_wrynose(self):
         """ Test create new project using:
           - Project Name: Any string
-          - Release: Yocto Project 5.0 "Scarthgap" (option value: 1)
+          - Release: Yocto Project 6.0 "Wrynose" (option value: 1)
           - Merge Toaster settings: True
         """
         release = '1'
+        release_title = 'Yocto Project 6.0 "Wrynose"'
+        project_name = 'projectwrynose'
+        self.create_new_project(
+            project_name,
+            release,
+            release_title,
+            True,
+        )
+
+
+    def test_create_new_project_scarthgap(self):
+        """ Test create new project using:
+          - Project Name: Any string
+          - Release: Yocto Project 5.0 "Scarthgap" (option value: 4)
+          - Merge Toaster settings: True
+        """
+        release = '4'
         release_title = 'Yocto Project 5.0 "Scarthgap"'
         project_name = 'projectscarthgap'
         self.create_new_project(
@@ -50,10 +67,10 @@ class TestCreateNewProject(SeleniumFunctionalTestCase):
     def test_create_new_project_kirkstone(self):
         """ Test create new project using:
           - Project Name: Any string
-          - Release: Yocto Project 4.0 "Kirkstone" (option value: 6)
+          - Release: Yocto Project 4.0 "Kirkstone" (option value: 5)
           - Merge Toaster settings: True
         """
-        release = '6'
+        release = '5'
         release_title = 'Yocto Project 4.0 "Kirkstone"'
         project_name = 'projectkirkstone'
         self.create_new_project(
#1 lore raw
Quoted 2 lines · Richard Purdie via lists.openembedded.org

Update the fixtures for toaster to add wynose. Update the tests to match.

"wynose"