Skip to content

Commit 76eeb0c

Browse files
committed
Update file
1 parent 91fd679 commit 76eeb0c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

AzureDevOps/DistributeTests.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
# {'/path/to/file1.m','/path/to/file2.m'}
55

66
# Find all test files (*.m) under ./tests
7-
mapfile -t tests < <(find ./tests -type f -name "*.m" | sort)
7+
# mapfile -t tests < <(find ./tests -type f -name "*.m" | sort) mapfile doesnt work on macOS bash 3.2
8+
tests=()
9+
while IFS= read -r file; do
10+
tests+=("$file")
11+
done < <(find ./tests -type f -name "*.m" | sort)
812

913
# Use Azure DevOps variables if available, else default to 1
1014
totalAgents=${SYSTEM_TOTALJOBSINPHASE:-1}

0 commit comments

Comments
 (0)