···120 if [ -n "$subPackages" ] ; then
121 for p in $subPackages ; do
122 go test -p $NIX_BUILD_CORES -v $goPackagePath/$p &
0123 done
124- PIDS+=("$!")
125 else
126 pushd go/src
127 while read d; do
128 go test -p $NIX_BUILD_CORES -v $d &
0129 done < <(find $goPackagePath -type f -name \*_test.go -exec dirname {} \; | sort | uniq)
130 popd
131- PIDS+=("$!")
132 fi
133134 # Exit on error from the parallel process
···120 if [ -n "$subPackages" ] ; then
121 for p in $subPackages ; do
122 go test -p $NIX_BUILD_CORES -v $goPackagePath/$p &
123+ PIDS+=("$!")
124 done
0125 else
126 pushd go/src
127 while read d; do
128 go test -p $NIX_BUILD_CORES -v $d &
129+ PIDS+=("$!")
130 done < <(find $goPackagePath -type f -name \*_test.go -exec dirname {} \; | sort | uniq)
131 popd
0132 fi
133134 # Exit on error from the parallel process