mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +00:00
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>
18 lines
421 B
Bash
Executable File
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 $*
|