summaryrefslogtreecommitdiff
path: root/firmware_builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'firmware_builder.py')
-rwxr-xr-xfirmware_builder.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/firmware_builder.py b/firmware_builder.py
index 3d9f6dd12f..1a6940d8c9 100755
--- a/firmware_builder.py
+++ b/firmware_builder.py
@@ -90,13 +90,14 @@ def test(opts):
cwd=os.path.dirname(__file__),
check=True)
- # Verify compilation of the on-device unit test binaries.
- # TODO(b/172501728) These should build for all boards, but they've bit
- # rotted, so we only build the ones that compile.
- subprocess.run(
- ['make', 'BOARD=bloonchipper', 'tests', '-j{}'.format(opts.cpus)],
- cwd=os.path.dirname(__file__),
- check=True)
+ if not opts.code_coverage:
+ # Verify compilation of the on-device unit test binaries.
+ # TODO(b/172501728) These should build for all boards, but they've bit
+ # rotted, so we only build the ones that compile.
+ subprocess.run(
+ ['make', 'BOARD=bloonchipper', 'tests', '-j{}'.format(opts.cpus)],
+ cwd=os.path.dirname(__file__),
+ check=True)
def main(args):