Allow substrings for TEST_ONLY in make (#6079)
This allows TEST_ONLY to match substrings of the package directory name instead of having to use the full package directory name.
This commit is contained in:
@@ -4,7 +4,7 @@ set -e
|
||||
TEST_DIRS=""
|
||||
|
||||
for f in packages/*; do
|
||||
if [ -n "$TEST_ONLY" ] && [ `basename $f` != "$TEST_ONLY" ]; then
|
||||
if [ -n "$TEST_ONLY" ] && [[ `basename $f` != *"$TEST_ONLY"* ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user