Files
OpenCellular/util/make_all.sh
Randall Spangler 596480de06 Add a script to build all platforms and run host-based unit tests
As the number of boards grows, it's handy to have a script which
builds them all and runs host-based unit tests, to make sure that
changes are at least somewhat sane before submitting them to the
commit queue.

BUG=none
BRANCH=none
TEST=util/make_all.sh

Change-Id: Ie3fcb062caedaf36b3e350c3d9be34a9b080c76d
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/63230
Reviewed-by: Rong Chang <rongchang@chromium.org>
2013-07-24 14:05:08 -07:00

18 lines
415 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