check_names: don't build what we don't need

We only look at symbols in the library, so don't bother building tests.

No semantic change.

Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
Gilles Peskine
2026-01-15 18:08:46 +01:00
parent fceee93024
commit 8b6217bba8
+2 -2
View File
@@ -797,7 +797,7 @@ class TFPSACryptoCodeParser(CodeParser):
check=True
)
subprocess.run(
["cmake", "--build", "."],
["cmake", "--build", ".", "-t", "tfpsacrypto"],
env=my_environment,
universal_newlines=True,
stdout=subprocess.PIPE,
@@ -968,7 +968,7 @@ class MBEDTLSCodeParser(CodeParser):
check=True
)
subprocess.run(
["cmake", "--build", "."],
["cmake", "--build", ".", "-t", "lib"],
env=my_environment,
universal_newlines=True,
stdout=subprocess.PIPE,