We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91fd679 commit 76eeb0cCopy full SHA for 76eeb0c
AzureDevOps/DistributeTests.sh
@@ -4,7 +4,11 @@
4
# {'/path/to/file1.m','/path/to/file2.m'}
5
6
# Find all test files (*.m) under ./tests
7
-mapfile -t tests < <(find ./tests -type f -name "*.m" | sort)
+# 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)
12
13
# Use Azure DevOps variables if available, else default to 1
14
totalAgents=${SYSTEM_TOTALJOBSINPHASE:-1}
0 commit comments