[riot-notifications] [RIOT] dist: exec drone build script in parallel (#3038)

Joakim Gebart notifications at github.com
Wed Jun 3 16:26:14 CEST 2015


> -    echo "Result (${group}): ${RES}"
> -    if [ ${RES} -ne 0 ]; then
> -        FAILURES=$((${FAILURES} + 1))
> -    fi
> -    SUMMARY_MESSAGE="${SUMMARY_MESSAGE}${group}: ${RES}\n"
> +export -f exec_build_func
> +
> +MYTMPDIR=$(mktemp -d)
> +trap 'rm -rf "$MYTMPDIR"' EXIT
> +
> +# Execute all groups in parallel (-k ensures correct ordering of the
> +# output)
> +parallel -k exec_build_func {} "$@"  ::: static-tests avr8 msp430 x86 arm7 \
> +                                         cortex_m0 cortex_m3_1 cortex_m3_2 \
> +                                         cortex_m4 \
> +|& tee -a "$MYTMPDIR/output.log"

what does the `|&` pipe syntax mean?

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3038/files#r31627658
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150603/0f375272/attachment.html>


More information about the notifications mailing list