From 154a67d21fbbb0aabdb1520551014d57be6aa690 Mon Sep 17 00:00:00 2001 From: Jack Rosenthal Date: Tue, 10 Aug 2021 11:59:09 -0600 Subject: zephyr: zmake: drop support for v2.5 v2.5 is now unused, cleanup the last tidbits in zmake supporting it. BUG=b:195571108 BRANCH=none TEST=zephyr/zmake/run_test.sh Signed-off-by: Jack Rosenthal Change-Id: Iea93f1d8703ad7e9c5c9bac18af0c47aed1e9a7b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3086367 Reviewed-by: Keith Short Reviewed-by: Fabio Baltieri --- zephyr/zmake/tests/test_project.py | 8 ++++---- zephyr/zmake/tests/test_version.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'zephyr/zmake/tests') diff --git a/zephyr/zmake/tests/test_project.py b/zephyr/zmake/tests/test_project.py index d729b79d71..dd57a5c9c9 100644 --- a/zephyr/zmake/tests/test_project.py +++ b/zephyr/zmake/tests/test_project.py @@ -72,7 +72,7 @@ def test_find_dts_overlays(modules): "board": board, "toolchain": "foo", "output-type": "elf", - "supported-zephyr-versions": ["v2.5"], + "supported-zephyr-versions": ["v2.6"], } ) as project: config = project.find_dts_overlays(dict(enumerate(module_paths))) @@ -106,7 +106,7 @@ def test_prune_modules(modules): "board": "native_posix", "toolchain": "coreboot-sdk", "output-type": "elf", - "supported-zephyr-versions": ["v2.5"], + "supported-zephyr-versions": ["v2.6"], "modules": modules, } ) as project: @@ -127,7 +127,7 @@ def test_prune_modules_unavailable(): "board": "native_posix", "toolchain": "coreboot-sdk", "output-type": "elf", - "supported-zephyr-versions": ["v2.5"], + "supported-zephyr-versions": ["v2.6"], "modules": ["hal_stm32", "cmsis"], } ) as project: @@ -143,7 +143,7 @@ def test_find_projects_empty(tmp_path): YAML_FILE = """ supported-zephyr-versions: - - v2.5 + - v2.6 toolchain: coreboot-sdk output-type: npcx """ diff --git a/zephyr/zmake/tests/test_version.py b/zephyr/zmake/tests/test_version.py index 7f1304066c..9e99ff09fb 100644 --- a/zephyr/zmake/tests/test_version.py +++ b/zephyr/zmake/tests/test_version.py @@ -52,7 +52,7 @@ def _setup_example_repos(tmp_path): "board": "foo", "toolchain": "bar", "output-type": "raw", - "supported-zephyr-versions": ["v2.5"], + "supported-zephyr-versions": ["v2.6"], }, ) # Has one commit. @@ -61,7 +61,7 @@ def _setup_example_repos(tmp_path): _git_add( zephyr_base, zephyr_base / "VERSION", - "VERSION_MAJOR=2\nVERSION_MINOR=5\nPATCHLEVEL=99\n", + "VERSION_MAJOR=2\nVERSION_MINOR=6\nPATCHLEVEL=99\n", ) _git_commit(zephyr_base, "Added version file") @@ -86,7 +86,7 @@ def test_version_string(tmp_path): project, zephyr_base, modules = _setup_example_repos(tmp_path) assert ( version.get_version_string(project, zephyr_base, modules) - == "prj_v2.5.4-mod1:02fd7a,mod2:b5991f,os:2c65cb" + == "prj_v2.6.4-mod1:02fd7a,mod2:b5991f,os:377d26" ) @@ -94,5 +94,5 @@ def test_version_string_static(tmp_path): project, zephyr_base, modules = _setup_example_repos(tmp_path) assert ( version.get_version_string(project, zephyr_base, modules, static=True) - == "prj_v2.5.0-STATIC" + == "prj_v2.6.0-STATIC" ) -- cgit v1.2.1