Skip to content

Commit

Permalink
meta-aws-tests.sh: add THINGS_TO_EXCLUDE
Browse files Browse the repository at this point in the history
THINGS_TO_EXCLUDE variable added that will exclude files found for ptest execution
  • Loading branch information
thomas-roos authored Jan 16, 2024
1 parent 4f18194 commit a731573
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion meta-aws-tests/meta-aws-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,11 @@ for RELEASE in $RELEASES ; do
# find all recipes in meta-aws or use package
ALL_RECIPES=${PACKAGE-`find ../meta-aws -name *.bb -type f | sed 's!.*/!!' | sed 's!.bb!!' | sed 's!_.*!!' | sort | uniq | sed -z 's/\n/ /g'`}

# those tests are known to not work with others etc.
THINGS_TO_EXCLUDE="-name aws-cli_*"

# find all recipes having a ptest in meta-aws
ptest_recipes=${PACKAGE-`find ../meta-aws -name *.bb -type f -print | xargs grep -l 'inherit.*ptest.*'| sed 's!.*/!!' | sed 's!.bb!!' | sed 's!_.*!!' | sort | uniq | sed -z 's/\n/ /g'`}
ptest_recipes=${PACKAGE-`find ../meta-aws -name *.bb -type f ! \( ${THINGS_TO_EXCLUDE} \) -print | xargs grep -l 'inherit.*ptest.*'| sed 's!.*/!!' | sed 's!.bb!!' | sed 's!_.*!!' | sort | uniq | sed -z 's/\n/ /g'`}

# make array out of string
ptest_recipes_array=($(echo "$ptest_recipes" | tr ',' '\n'))
Expand Down

0 comments on commit a731573

Please sign in to comment.