mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 18:11:05 +00:00
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>
18 lines
415 B
Bash
Executable File
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
|