mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-12-02 05:43:40 +08:00
Format Panda Build Test Invocation
This commit is contained in:
@@ -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
@@ -1 +1 @@
|
||||
{"protected_inventory_sha256": "b4b3ea572c95d5a84e130d5583627978a98e4be5a83b55417731c4e8732d4a92", "schema_version": 1}
|
||||
{"protected_inventory_sha256": "21502c535dba8ab47ccd6fae82dfea8a2e639a66f00774e4eba899460984f667", "schema_version": 1}
|
||||
|
||||
Reference in New Issue
Block a user