Format Panda Build Test Invocation

This commit is contained in:
firestar5683
2026-11-28 12:30:35 -06:00
parent db6d244eee
commit 6115b0359d
2 changed files with 5 additions and 3 deletions
+4 -2
View File
@@ -36,8 +36,10 @@ class TestBuild(unittest.TestCase):
build_env = {"RELEASE": "1", "CERT": f"{d}/board/crypto/certs/debug"}
elif profile == "faulttest":
build_env = {"PANDA_FAULT_INJECTION": "1"}
subprocess.check_call([sys.executable, "-B", "-m", "SCons", "-u", "board/obj/panda_h7.bin.signed", "board/obj/bootstub.panda_h7.bin"], cwd=d, env=env | build_env,
stdout=subprocess.DEVNULL)
subprocess.check_call(
[sys.executable, "-B", "-m", "SCons", "-u", "board/obj/panda_h7.bin.signed", "board/obj/bootstub.panda_h7.bin"],
cwd=d, env=env | build_env, stdout=subprocess.DEVNULL,
)
def _read(self, profile, fn):
with open(f"{self.tmp[profile]}/board/obj/{fn}", "rb") as f:
+1 -1
View File
@@ -1 +1 @@
{"protected_inventory_sha256": "b4b3ea572c95d5a84e130d5583627978a98e4be5a83b55417731c4e8732d4a92", "schema_version": 1}
{"protected_inventory_sha256": "21502c535dba8ab47ccd6fae82dfea8a2e639a66f00774e4eba899460984f667", "schema_version": 1}