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 dcd921a commit 8d5f8d8Copy full SHA for 8d5f8d8
scripts/itest_parallel.sh
@@ -3,16 +3,17 @@
3
# Get all the variables.
4
PROCESSES=$1
5
TRANCHES=$2
6
-TEST_FLAGS=$3
7
-ITEST_FLAGS=$4
+
+# Here we also shift 2 times and get the rest of our flags to pass on in $@.
8
+shift 2
9
10
# Create a variable to hold the final exit code.
11
exit_code=0
12
13
# Run commands using xargs in parallel and capture their PIDs
14
pids=()
15
for ((i=0; i<PROCESSES; i++)); do
- scripts/itest_part.sh $i $TRANCHES $TEST_FLAGS $ITEST_FLAGS &
16
+ scripts/itest_part.sh $i $TRANCHES $@ &
17
pids+=($!)
18
done
19
0 commit comments