summaryrefslogtreecommitdiff
path: root/firmware_builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'firmware_builder.py')
-rwxr-xr-xfirmware_builder.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware_builder.py b/firmware_builder.py
index 1a7b6c8749..6b5d094edf 100755
--- a/firmware_builder.py
+++ b/firmware_builder.py
@@ -211,6 +211,11 @@ def test(opts):
print(f"# Running {' '.join(cmd)}.")
subprocess.run(cmd, cwd=os.path.dirname(__file__), check=True)
+ # Verify the tests pass with ASan also
+ cmd = ['make', 'TEST_ASAN=y', target, f'-j{opts.cpus}']
+ print(f"# Running {' '.join(cmd)}.")
+ subprocess.run(cmd, cwd=os.path.dirname(__file__), check=True)
+
def main(args):
"""Builds, bundles, or tests all of the EC targets.