diff --git a/meta-aws-tests/meta-aws-tests.sh b/meta-aws-tests/meta-aws-tests.sh index ba82faf..c00655c 100755 --- a/meta-aws-tests/meta-aws-tests.sh +++ b/meta-aws-tests/meta-aws-tests.sh @@ -144,12 +144,12 @@ for RELEASE in $RELEASES ; do # setup build/local.conf setup_config - # 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-v2" + # find all recipes in meta-aws or use package + ALL_RECIPES=${PACKAGE-`find ../meta-aws -name *.bb -type f ! \( ${THINGS_TO_EXCLUDE} \) | sed 's!.*/!!' | sed 's!.bb!!' | sed 's!_.*!!' | sort | uniq | sed -z 's/\n/ /g'`} + # find all recipes having a ptest in meta-aws 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'`}