Files
OpenCellular/util/make_all.sh
Vic Yang b75a3ee153 Allow parallel unit testing in make_all.sh
We are already applying arguments of make_all.sh to building ec binary
for each board. Let's also apply them to 'make runtests'.

BUG=None
TEST=util/make_all.sh -j8
BRANCH=None

Change-Id: I267aee662c015e65b737640815dbbb0cb72c58ba
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/167826
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2013-09-05 07:21:30 +00:00

18 lines
421 B
Bash
Executable File

#!/bin/bash -e
#
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
#
# Build all EC boards and run unit tests
# Build all boards except host
boards=$(ls -1 board | grep -v host)
for b in $boards; do
echo ======== building $b
make BOARD=$b $*
done
# Run unit tests
make BOARD=host runtests $*