Skip to content

Commit

Permalink
Allow substrings for TEST_ONLY in make
Browse files Browse the repository at this point in the history
This allows TEST_ONLY to match substrings of the package directory name
instead of having to use the full package directory name.
  • Loading branch information
Qantas94Heavy committed Aug 9, 2017
1 parent b41fe4e commit 78d2755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/_get-test-directories.sh
Expand Up @@ -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

Expand Down

0 comments on commit 78d2755

Please sign in to comment.