We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ee94b7 commit 173c5d5Copy full SHA for 173c5d5
1 file changed
tests/scripts/validate-cci-patch-ng.sh
@@ -5,11 +5,12 @@ set -euo pipefail
5
SAMPLE_RECIPES_NUM=10
6
7
# Find all conanfile.py files that use apply_conandata_patches
8
-RECIPES=$(find . -type f -name "conanfile.py" -exec grep "apply_conandata_patches(self)" {} + | sort | uniq | cut -d':' -f1)
+RECIPES=$(find . -type f -name "conanfile.py" -exec grep -l "apply_conandata_patches(self)" {} + | sort | uniq)
9
+# And does not need system requirement
10
+RECIPES=$(grep -L "/system" $RECIPES)
11
12
echo "Found $(echo "$RECIPES" | wc -l) recipes using apply_conandata_patches."
13
-# Pick 10 random recipes
14
SAMPLE_RECIPES=$(shuf -e ${RECIPES[@]} -n $SAMPLE_RECIPES_NUM)
15
16
echo "Pick $SAMPLE_RECIPES_NUM random recipes to test:"
0 commit comments