From 79f447e4fe1f3e9b97741b17e151efd4a3d500c6 Mon Sep 17 00:00:00 2001 From: Tomas Peterka Date: Thu, 28 Nov 2024 12:14:10 +0100 Subject: [PATCH] test: Add test for west-SOMETHING.yaml --- tests/run.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/run.sh b/tests/run.sh index c1ba715..6d5eb40 100644 --- a/tests/run.sh +++ b/tests/run.sh @@ -16,6 +16,7 @@ envsubst < local-template/poetry/poetry.lock > local/poetry/poetry.lock envsubst < local-template/pyproject.toml > local/pyproject.toml envsubst < local-template/pubspec.yaml > local/pubspec.yaml envsubst < local-template/west.yml > local/west.yml +envsubst < local-template/west.yml > local/west-SOMETHING.yaml envsubst < local-template/.gira.yaml > local/.gira.yaml @@ -77,6 +78,16 @@ grep OCD-1234 output.txt grep -v OCD-567 output.txt +echo "-- Test west-SOMETHING.yaml" +git reset --hard +rm -rf .gira_cache output.txt +sed -i 's/1.0.0/1.1.0/g' west-SOMETHING.yaml +gira -c west-SOMETHING.yaml > output.txt +grep dep1-west output.txt +grep OCD-1234 output.txt +grep -v OCD-567 output.txt + + echo "-- Test moving from 1.0.0 to 1.1.0 and then to 1.1.1" git reset --hard rm -rf .gira_cache output.txt