mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
[build] Check results of subprocess.run in wpimath/generate_quickbuf.py (#8069)
The generator was calling a binary of the wrong architecture and failing internally, but passing the build (incorrectly). Explode right away. Signed-off-by: Austin Schuh <austin.linux@gmail.com>
This commit is contained in:
@@ -15,7 +15,7 @@ def generate_quickbuf(
|
||||
proto_files = proto_dir.glob("*.proto")
|
||||
for path in proto_files:
|
||||
absolute_filename = path.absolute()
|
||||
subprocess.run(
|
||||
subprocess.check_call(
|
||||
[
|
||||
protoc,
|
||||
f"--plugin=protoc-gen-quickbuf={quickbuf_plugin}",
|
||||
|
||||
Reference in New Issue
Block a user