Skip to content

Commit

Permalink
ci.sh: Add tests for tracking dependencies' 'test-next' branch
Browse files Browse the repository at this point in the history
parsec-tool depends on several repositories under the parallaxsecond
organization.

* Add a flag option (--test-next-branch-tracking) in ci.sh to track
  the 'test-next' branches of said repositories and test parsec-tool
  with those updates.

Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
  • Loading branch information
tgonzalezorlandoarm authored and gowthamsk-arm committed Dec 1, 2023
1 parent 8c6aa95 commit e4ef265
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@ export RUST_LOG=error
# Get Parameters #
##################
MISMATCHER=
TEST_NEXT_BRANCH_TRACKING=
while [ "$#" -gt 0 ]; do
case "$1" in
mismatcher )
MISMATCHER="True"
;;
--test-next-branch-tracking )
TEST_NEXT_BRANCH_TRACKING="True"
;;
*)
error_msg "Unknown argument: $1"
;;
Expand All @@ -42,6 +46,13 @@ if [ "$MISMATCHER" = "True" ]; then
exit 0
fi

#########################
# Next branch tracking #
#########################
if [ "$TEST_NEXT_BRANCH_TRACKING" ]; then
echo "Track next branches for parallaxsecond repositories"
python3 $(pwd)/parsec/utils/release_tracking.py $(pwd)/Cargo.toml
fi
#########
# Build #
#########
Expand Down

0 comments on commit e4ef265

Please sign in to comment.